public class DebugHandler
extends java.lang.Object
implements org.xml.sax.DocumentHandler
| Modifier and Type | Field and Description |
|---|---|
(package private) org.xml.sax.DocumentHandler |
_handler
The DocumentHandler to forward events to
|
(package private) java.io.Writer |
_out
The writer to report events to
|
(package private) boolean |
newLine |
| Constructor and Description |
|---|
DebugHandler(org.xml.sax.DocumentHandler handler)
Creates a new DebugHandler which forwards events to the
given document handler
|
DebugHandler(org.xml.sax.DocumentHandler handler,
java.io.Writer out)
Creates a new DebugHandler which forwards events to the
given document handler
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(java.lang.String name) |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(java.lang.String target,
java.lang.String data) |
void |
setDocumentLocator(org.xml.sax.Locator locator) |
void |
startDocument() |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList atts) |
java.io.Writer _out
org.xml.sax.DocumentHandler _handler
boolean newLine
public DebugHandler(org.xml.sax.DocumentHandler handler)
handler - the DocumentHandler to forward events topublic DebugHandler(org.xml.sax.DocumentHandler handler,
java.io.Writer out)
handler - the DocumentHandler to forward events toout - the Writer to print debug information topublic void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void endElement(java.lang.String name)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
ignorableWhitespace in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.DocumentHandlerpublic void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionpublic void startElement(java.lang.String name,
org.xml.sax.AttributeList atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.DocumentHandlerorg.xml.sax.SAXExceptionIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com