org.apache.ws.commons.serialize
public class DOMBuilder extends Object implements ContentHandler
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 DOMBuilder
shall create an xmlns attribute. |
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 DOMBuilder
shall create an xmlns attribute. |
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) |
Returns: pDocument The object factory.
Returns: The documents Locator.
Returns: The target node.
xmlns
attribute. Defaults
to false.Returns: True, if xmlns
attributes are being
created, false otherwise.
Parameters: pDocument The object factory.
Parameters: pLocator The Locator being set.
xmlns
attribute. Defaults
to false.Parameters: pPrefixMappingIsAttribute True, if xmlns
attributes are being created, false otherwise.
Parameters: pNode The target node.