public static class DomHelper.StartHandler extends DefaultHandler
| Constructor and Description |
|---|
DomHelper.StartHandler(ContentHandler next,
Map<String,String> dtdMappings)
Create a filter that is chained to another handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] arg0,
int arg1,
int arg2) |
void |
endDocument() |
void |
endElement(String arg0,
String arg1,
String arg2) |
void |
endPrefixMapping(String arg0) |
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
ignorableWhitespace(char[] arg0,
int arg1,
int arg2) |
void |
processingInstruction(String arg0,
String arg1) |
InputSource |
resolveEntity(String publicId,
String systemId) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String arg0) |
void |
startDocument() |
void |
startElement(String uri,
String loc,
String raw,
Attributes attrs) |
void |
startPrefixMapping(String arg0,
String arg1) |
void |
warning(SAXParseException exception) |
notationDecl, unparsedEntityDeclpublic DomHelper.StartHandler(ContentHandler next, Map<String,String> dtdMappings)
next - the next handler in the chain.dtdMappings - map of DTD mappingspublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void startElement(String uri, String loc, String raw, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String arg0, String arg1, String arg2) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void startPrefixMapping(String arg0, String arg1) throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class DefaultHandlerSAXExceptionpublic void endPrefixMapping(String arg0) throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class DefaultHandlerSAXExceptionpublic void characters(char[] arg0,
int arg1,
int arg2)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void ignorableWhitespace(char[] arg0,
int arg1,
int arg2)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class DefaultHandlerSAXExceptionpublic void processingInstruction(String arg0, String arg1) throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class DefaultHandlerSAXExceptionpublic void skippedEntity(String arg0) throws SAXException
skippedEntity in interface ContentHandlerskippedEntity in class DefaultHandlerSAXExceptionpublic InputSource resolveEntity(String publicId, String systemId)
resolveEntity in interface EntityResolverresolveEntity in class DefaultHandlerpublic void warning(SAXParseException exception)
warning in interface ErrorHandlerwarning in class DefaultHandlerpublic void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlererror in class DefaultHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerfatalError in class DefaultHandlerSAXExceptionCopyright © 2000–2019 Apache Software Foundation. All rights reserved.