public class DefaultContentHandler extends Object implements ContentHandler
| Constructor and Description |
|---|
DefaultContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] chars,
int start,
int end) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String buildName) |
protected boolean |
hasParserFor(String key) |
void |
ignorableWhitespace(char[] chars,
int i,
int i1) |
void |
processingInstruction(String buildName,
String buildName1) |
protected void |
registerElementParser(String elementName,
ElementParser elementParser)
Add an
ElementParser to process an element with the given elementName |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String buildName) |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
void |
startPrefixMapping(String buildName,
String buildName1) |
protected void registerElementParser(String elementName, ElementParser elementParser)
ElementParser to process an element with the given elementNameelementName - The name of the element to processelementParser - How to process an elementName elementpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String buildName, String buildName1) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String buildName) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerSAXExceptionpublic void characters(char[] chars,
int start,
int end)
throws SAXException
characters in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] chars,
int i,
int i1)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void processingInstruction(String buildName, String buildName1) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void skippedEntity(String buildName) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionprotected boolean hasParserFor(@NotNull
String key)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.