public class XmlSiteExportHandler extends DefaultHandler
Constructor and Description |
---|
XmlSiteExportHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Note that a SAX driver is free to chunk the character data any way it wants, so you cannot count on all
of the character data content of an element arriving in a single characters event.
|
void |
endElement(String uri,
String localName,
String name)
If this is the end of an object element and we have a current item then store it.
|
SimpleSiteStructure |
getStructure()
When called after parsing is complete it will return the
SimpleSiteStructure which has been
constructed. |
void |
startDocument() |
void |
startElement(String uri,
String localName,
String name,
Attributes attributes)
Does not expect or handle nested object elements.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public SimpleSiteStructure getStructure()
SimpleSiteStructure
which has been
constructed.Copyright © 2003–2021 Atlassian. All rights reserved.