com.sun.xml.bind.marshaller
public class SAX2DOMEx extends Object implements ContentHandler
Since: 1.0
Field Summary | |
---|---|
protected Document | document
Document object that owns the specified node. |
protected Stack<Node> | nodeStack |
Constructor Summary | |
---|---|
SAX2DOMEx(Node node) | |
SAX2DOMEx(Node node, boolean isConsolidate) | |
SAX2DOMEx()
Creates a fresh empty DOM document and adds nodes under this document. |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) |
protected Text | characters(String s) |
void | endDocument() |
void | endElement(String namespace, String localName, String qName) |
void | endPrefixMapping(String prefix) |
Element | getCurrentElement() |
Node | getDOM() |
void | ignorableWhitespace(char[] ch, int start, int length) |
protected void | namespace(Element element, String prefix, String uri) |
void | processingInstruction(String target, String data) |
void | setDocumentLocator(Locator locator) |
void | skippedEntity(String name) |
void | startDocument() |
void | startElement(String namespace, String localName, String qName, Attributes attrs) |
void | startPrefixMapping(String prefix, String uri) |
Parameters: node Nodes will be created and added under this object.
Parameters: node Nodes will be created and added under this object.