org.apache.ws.jaxme.util
public class DOMBuilder extends Object implements ContentHandler
Converts a stream of SAX events into a DOM node.
Version: $Id: DOMBuilder.java 231826 2004-04-18 19:15:30Z jochen $
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) |
void | endDocument() |
void | endElement(String namespaceURI, String localName, String qName) |
void | endPrefixMapping(String prefix) |
Document | getDocument() Returns the document being used as object factory. |
Locator | getDocumentLocator() Returns the Locator. |
Node | getTarget() Returns the target node. |
void | ignorableWhitespace(char[] ch, int start, int length) |
boolean | isPrefixMappingIsAttribute() Sets whether the event {@link #startPrefixMapping}
shall create an |
void | processingInstruction(String pTarget, String pData) |
void | setDocument(Document pDocument) Sets the document being used as object factory. |
void | setDocumentLocator(Locator pLocator) Sets the Locator. |
void | setPrefixMappingIsAttribute(boolean pPrefixMappingIsAttribute) Returns whether the event {@link #startPrefixMapping}
shall create an |
void | setTarget(Node pNode) Sets the target node. |
void | skippedEntity(String pName) |
void | startDocument() |
void | startElement(String pNamespaceURI, String pLocalName, String pQName, Attributes pAttr) |
void | startPrefixMapping(String prefix, String uri) |
See Also: org.xml.sax.ContentHandler#endDocument()
Returns the document being used as object factory.
Returns the Locator.
Returns the target node. The document is built as a fragment in the target node.
Sets whether the event {@link #startPrefixMapping}
shall create an xmlns
attribute. Defaults
to false.
Sets the document being used as object factory.
Sets the Locator.
Returns whether the event {@link #startPrefixMapping}
shall create an xmlns
attribute. Defaults
to false.
Sets the target node. The document is built as a fragment in the target node.
See Also: org.xml.sax.ContentHandler#startDocument()