Inherits org::xml::sax::DocumentHandler.
Public Member Functions | |
| DebugHandler (DocumentHandler handler) | |
| DebugHandler (DocumentHandler handler, Writer out) | |
| void | characters (char[] ch, int start, int length) throws org.xml.sax.SAXException |
| void | endDocument () throws org.xml.sax.SAXException |
| void | endElement (String name) throws org.xml.sax.SAXException |
| void | ignorableWhitespace (char[] ch, int start, int length) throws org.xml.sax.SAXException |
| void | processingInstruction (String target, String data) throws org.xml.sax.SAXException |
| void | setDocumentLocator (Locator locator) |
| void | startDocument () throws org.xml.sax.SAXException |
| void | startElement (String name, AttributeList atts) throws org.xml.sax.SAXException |
Package Attributes | |
| Writer | _out = null |
| DocumentHandler | _handler = null |
| boolean | newLine = false |
A Simple DocumentHandler that intercepts SAX events and prints them to the console
| org.exolab.castor.xml.DebugHandler.DebugHandler | ( | DocumentHandler | handler | ) |
Creates a new DebugHandler which forwards events to the given document handler
| handler | the DocumentHandler to forward events to |
| org.exolab.castor.xml.DebugHandler.DebugHandler | ( | DocumentHandler | handler, | |
| Writer | out | |||
| ) |
Creates a new DebugHandler which forwards events to the given document handler
| handler | the DocumentHandler to forward events to | |
| out | the Writer to print debug information to |
References org.exolab.castor.xml.DebugHandler._handler, and org.exolab.castor.xml.DebugHandler._out.
| void org.exolab.castor.xml.DebugHandler.characters | ( | char[] | ch, | |
| int | start, | |||
| int | length | |||
| ) | throws org.xml.sax.SAXException |
| void org.exolab.castor.xml.DebugHandler.endDocument | ( | ) | throws org.xml.sax.SAXException |
| void org.exolab.castor.xml.DebugHandler.endElement | ( | String | name | ) | throws org.xml.sax.SAXException |
| void org.exolab.castor.xml.DebugHandler.ignorableWhitespace | ( | char[] | ch, | |
| int | start, | |||
| int | length | |||
| ) | throws org.xml.sax.SAXException |
References org.exolab.castor.xml.DebugHandler._handler.
| void org.exolab.castor.xml.DebugHandler.processingInstruction | ( | String | target, | |
| String | data | |||
| ) | throws org.xml.sax.SAXException |
| void org.exolab.castor.xml.DebugHandler.setDocumentLocator | ( | Locator | locator | ) |
References org.exolab.castor.xml.DebugHandler._handler.
| void org.exolab.castor.xml.DebugHandler.startDocument | ( | ) | throws org.xml.sax.SAXException |
| void org.exolab.castor.xml.DebugHandler.startElement | ( | String | name, | |
| AttributeList | atts | |||
| ) | throws org.xml.sax.SAXException |
DocumentHandler org.exolab.castor.xml.DebugHandler._handler = null [package] |
The DocumentHandler to forward events to
Referenced by org.exolab.castor.xml.DebugHandler.characters(), org.exolab.castor.xml.DebugHandler.DebugHandler(), org.exolab.castor.xml.DebugHandler.endDocument(), org.exolab.castor.xml.DebugHandler.endElement(), org.exolab.castor.xml.DebugHandler.ignorableWhitespace(), org.exolab.castor.xml.DebugHandler.processingInstruction(), org.exolab.castor.xml.DebugHandler.setDocumentLocator(), org.exolab.castor.xml.DebugHandler.startDocument(), and org.exolab.castor.xml.DebugHandler.startElement().
Writer org.exolab.castor.xml.DebugHandler._out = null [package] |
The writer to report events to
Referenced by org.exolab.castor.xml.DebugHandler.characters(), org.exolab.castor.xml.DebugHandler.DebugHandler(), org.exolab.castor.xml.DebugHandler.endDocument(), org.exolab.castor.xml.DebugHandler.endElement(), org.exolab.castor.xml.DebugHandler.processingInstruction(), org.exolab.castor.xml.DebugHandler.startDocument(), and org.exolab.castor.xml.DebugHandler.startElement().
boolean org.exolab.castor.xml.DebugHandler.newLine = false [package] |
1.7.0