public class IgnoreRootHandler extends ContentHandlerProxy implements LexicalHandler
| Modifier and Type | Field and Description |
|---|---|
private LexicalHandler |
_lexicalHandler |
| Constructor and Description |
|---|
IgnoreRootHandler(ContentHandler contentHandler)
Constructor
|
IgnoreRootHandler(ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDocument() |
void |
endDTD() |
void |
endEntity(String name) |
void |
startCDATA() |
void |
startDocument() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startEntity(String name) |
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startElement, startPrefixMappingprivate LexicalHandler _lexicalHandler
public IgnoreRootHandler(ContentHandler contentHandler)
contentHandler - the contentHandler to pass SAX events to. In case the ContentHandler also implements the LexicalHandler interface, it will be honoured.public IgnoreRootHandler(ContentHandler contentHandler, LexicalHandler lexicalHandler)
contentHandler - the contentHandler to pass SAX events tolexicalHandler - the lexicalHandler to pass lexical events to. May be null.public void startDocument() throws SAXException
startDocument in interface ContentHandlerstartDocument in class ContentHandlerProxySAXExceptionpublic void endDocument() throws SAXException
endDocument in interface ContentHandlerendDocument in class ContentHandlerProxySAXExceptionpublic void comment(char[] ch, int start, int length) throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic void startCDATA() throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void endCDATA() throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void endDTD() throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionpublic void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXException