java.lang.Object
com.thermidor.xml.output.OutputHandler
- Direct Known Subclasses:
- AppendHandler, FileHandler, NulHandler, PrintWriterHandler, StringHandler
- public abstract class OutputHandler
- extends java.lang.Object
The OutputHandler class is the base class for output handlers used by the
Output class to manage stack based output.
|
Method Summary |
abstract java.lang.String |
finish()
The responsibilty of the finish member function is to handle clean up
when the output is popped from the output stack. |
abstract void |
handle(java.lang.String text)
Handle the provided string data . |
abstract void |
start(java.lang.Object initializationData)
start is called on the output handler to initialize it
ready to start processing output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY
public static final java.lang.String EMPTY
- See Also:
- Constant Field Values
_writer
protected java.io.PrintWriter _writer
- The print write that will be used to handle the the output at this
point.
OutputHandler
public OutputHandler()
start
public abstract void start(java.lang.Object initializationData)
throws OutputHandler.InvalidInitializationParameter,
java.io.IOException
start is called on the output handler to initialize it
ready to start processing output.
handle
public abstract void handle(java.lang.String text)
throws java.io.IOException
- Handle the provided string data .
finish
public abstract java.lang.String finish()
throws java.io.IOException
- The responsibilty of the finish member function is to handle clean up
when the output is popped from the output stack.