java.lang.Object | |||
↳ | org.xml.sax.helpers.DefaultHandler | ||
↳ | com.microstrategy.utils.xml.AbstractHandler | ||
↳ | com.microstrategy.utils.xml.SaxToDomHandler |
A class that converts an XML subtree into DOM document
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SaxToDomHandler(SAXSupport pParser, String rootTag, Attributes attrs)
This constructor shall be called when parsing starts at the object's
mi node.
| |||||||||||
SaxToDomHandler(SAXSupport pParser)
This constructor shall be called when parsing starts at the object's
parent node.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Document |
getDocument()
Returns DOM document.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
doEndElement(String uri, String local, String qName)
Override this method insted of
endElement
to process end element event. | ||||||||||
void |
doStartElement(String uri, String local, String qName, Attributes attrs)
Override this method insted of
startElement
to process start element event. | ||||||||||
void |
domIsReady()
Override this method to process DOM is ready event.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This constructor shall be called when parsing starts at the object's mi node.
pParser | a SAX parser to which this handler needs to be attached |
---|---|
rootTag | a root element tag name |
attrs | a root element attributes |
SAXException | Any SAX exception, possibly wrapping another exception |
---|
This constructor shall be called when parsing starts at the object's parent node.
pParser | - a SAX parser to which this handler needs to be attached |
---|
SAXException | Any SAX exception, possibly wrapping another exception |
---|
Returns DOM document. This message shall be called after the DOM is ready event happened.
Override this method insted of endElement
to process end element event. This way you will not have problems with
depth counter while subclassing your event handlers.
SAXException |
---|
Override this method insted of startElement
to process start element event. This way you will not have problems with
depth counter while subclassing your event handlers.
SAXException |
---|
Override this method to process DOM is ready event.
SAXException | Any SAX exception, possibly wrapping another exception |
---|