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 ContentHandler
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startPrefixMapping(String buildName, String buildName1) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String buildName) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] chars, int start, int end) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] chars, int i, int i1) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String buildName, String buildName1) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String buildName) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
protected boolean hasParserFor(@NotNull String key)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.