org.polliwog.handlers
Class TextFormatter

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

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


Field Summary
static java.lang.String CONTENT
           
 
Constructor Summary
TextFormatter()
           
 
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
Constructor Detail

TextFormatter

public TextFormatter()
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.