jlibs.xml.sax
Class SAXDebugHandler
java.lang.Object
jlibs.xml.sax.SAXDelegate
jlibs.xml.sax.SAXDebugHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, DeclHandler, LexicalHandler
public class SAXDebugHandler
- extends SAXDelegate
A SAXDelegate that prints sax event information before delgating.
This is useful for debugging purposes.
- Author:
- Santhosh Kumar T
| Methods inherited from class jlibs.xml.sax.SAXDelegate |
attributeDecl, comment, elementDecl, endCDATA, endDocument, endDTD, endEntity, endPrefixMapping, error, externalEntityDecl, fatalError, getContentHandler, getDeclHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLexicalHandler, ignorableWhitespace, internalEntityDecl, notationDecl, processingInstruction, resolveEntity, setContentHandler, setDeclHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setHandler, setLexicalHandler, skippedEntity, startCDATA, startDocument, startDTD, startEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXDebugHandler
public SAXDebugHandler(org.xml.sax.helpers.DefaultHandler delegate)
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class SAXDelegate
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class SAXDelegate
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class SAXDelegate
- Throws:
SAXException
Copyright © 2015. All rights reserved.