| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | characters(char[]
The characters. buf, int The start position in the character array. start, int The number of characters to use from the
character array. len)Overrides org. Implements org. |
| public void | endElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. ns, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. local, String The qualified name (with prefix), or the
empty string if qualified names are not available. qname)Overrides org. Implements org. |
| public Document | |
| public void | ignorableWhitespace(char[]
The whitespace characters. buf, int The start position in the character array. start, int The number of characters to use from the
character array. len)Overrides org. Implements org. |
| public void | startElement(String
The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed. ns, String The local name (without prefix), or the
empty string if Namespace processing is not being
performed. local, String The qualified name (with prefix), or the
empty string if qualified names are not available. qname, Attributes The attributes attached to the element. If
there are no attributes, it shall be an empty
Attributes object. atts)Overrides org. Implements org. |
| dom | back to summary |
|---|---|
| private final Document dom | |
| parent | back to summary |
|---|---|
| private Node parent | |
| DOMBuilder | back to summary |
|---|---|
| public DOMBuilder(Document document) | |
| DOMBuilder | back to summary |
|---|---|
| public DOMBuilder() throws ParserConfigurationException | |
| characters | back to summary |
|---|---|
| public void characters(char[] buf, int start, int len) Overrides org. Implements org. Doc from org. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String ns, String local, String qname) Overrides org. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| getDocument | back to summary |
|---|---|
| public Document getDocument() returns DOM. This method should be called after the parsing was completed. | |
| ignorableWhitespace | back to summary |
|---|---|
| public void ignorableWhitespace(char[] buf, int start, int len) Overrides org. Implements org. Doc from org. Receive notification of ignorable whitespace in element content. By default, do nothing. Application writers may override this method to take specific actions for each chunk of ignorable whitespace (such as adding data to a node or buffer, or printing it to a file).
| |
| startElement | back to summary |
|---|---|
| public void startElement(String ns, String local, String qname, Attributes atts) Overrides org. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |