org.polliwog.handlers
Class GraphFormatter

java.lang.Object
  extended by org.polliwog.handlers.GraphFormatter
All Implemented Interfaces:
Handler, JoSQLQueryExecutor, XMLIniter

public class GraphFormatter
extends java.lang.Object
implements Handler, XMLIniter, JoSQLQueryExecutor


Field Summary
static java.lang.String AREA
           
static java.lang.String CATEGORY
           
static java.lang.String CONTENT
           
static java.lang.String HITS
           
static java.lang.String IMG
           
static java.lang.String NO_ITEMS
           
static java.lang.String PIE
           
static java.lang.String VISITS
           
static java.lang.String XY
           
 
Constructor Summary
GraphFormatter()
           
 
Method Summary
 java.lang.String generate(java.lang.Object o, VisitorData vd, Templates templates)
           
 void init(org.jdom.Element root, VisitorEnvironment ve)
           
 void setQueryVariables(java.util.Map vars)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT

public static final java.lang.String CONTENT
See Also:
Constant Field Values

NO_ITEMS

public static final java.lang.String NO_ITEMS
See Also:
Constant Field Values

IMG

public static final java.lang.String IMG
See Also:
Constant Field Values

HITS

public static final java.lang.String HITS
See Also:
Constant Field Values

VISITS

public static final java.lang.String VISITS
See Also:
Constant Field Values

CATEGORY

public static final java.lang.String CATEGORY
See Also:
Constant Field Values

PIE

public static final java.lang.String PIE
See Also:
Constant Field Values

XY

public static final java.lang.String XY
See Also:
Constant Field Values

AREA

public static final java.lang.String AREA
See Also:
Constant Field Values
Constructor Detail

GraphFormatter

public GraphFormatter()
Method Detail

init

public void init(org.jdom.Element root,
                 VisitorEnvironment ve)
          throws org.jdom.JDOMException,
                 WeblogException
Specified by:
init in interface XMLIniter
Throws:
org.jdom.JDOMException
WeblogException

setQueryVariables

public void setQueryVariables(java.util.Map vars)
Specified by:
setQueryVariables in interface JoSQLQueryExecutor

generate

public java.lang.String generate(java.lang.Object o,
                                 VisitorData vd,
                                 Templates templates)
                          throws WeblogException
Specified by:
generate in interface Handler
Throws:
WeblogException


  Copyright © 2007 Gary Bentley. All Rights Reserved.