org.exolab.castor.xml
public class DebugHandler extends Object implements DocumentHandler
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:09:09 $
| Field Summary | |
|---|---|
| boolean | newLine |
| DocumentHandler | _handler
The DocumentHandler to forward events to
|
| Writer | _out
The writer to report events to
|
| Constructor Summary | |
|---|---|
| DebugHandler(DocumentHandler handler)
Creates a new DebugHandler which forwards events to the
given document handler | |
| DebugHandler(DocumentHandler handler, Writer out)
Creates a new DebugHandler which forwards events to the
given document handler | |
| Method Summary | |
|---|---|
| void | characters(char[] ch, int start, int length) |
| void | endDocument() |
| void | endElement(String name) |
| void | ignorableWhitespace(char[] ch, int start, int length) |
| void | processingInstruction(String target, String data) |
| void | setDocumentLocator(Locator locator) |
| void | startDocument() |
| void | startElement(String name, AttributeList atts) |
Parameters: handler the DocumentHandler to forward events to
Parameters: handler the DocumentHandler to forward events to out the Writer to print debug information to