public class DOMNamespace extends DefaultNamespace implements Node
DOMNamespace
implements a Namespace that is compatable with
the DOM API.
CACHE, NO_NAMESPACE, XML_NAMESPACE
NODE_TYPE_NAMES
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
Constructor and Description |
---|
DOMNamespace(Element parent,
String prefix,
String uri) |
DOMNamespace(String prefix,
String uri) |
createHashCode, equals, getParent, hashCode, isReadOnly, setParent, supportsParent
accept, asXML, createXPathResult, get, get, getNodeType, getPath, getPrefix, getStringValue, getText, getUniquePath, getURI, getXPathNameStep, toString
asXPathResult, clone, createPattern, createXPath, createXPathFilter, detach, getDocument, getDocumentFactory, getName, getNodeTypeName, getPath, getUniquePath, hasContent, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setText, valueOf, write
finalize, getClass, notify, notifyAll, wait, wait, wait
getNodeType, getPrefix
public String getNamespaceURI()
public void setPrefix(String prefix) throws DOMException
DOMException
public String getLocalName()
public String getNodeName()
public String getNodeValue() throws DOMException
DOMException
public void setNodeValue(String nodeValue) throws DOMException
DOMException
public Node getParentNode()
public NodeList getChildNodes()
public Node getFirstChild()
public Node getLastChild()
public Node getPreviousSibling()
public Node getNextSibling()
public NamedNodeMap getAttributes()
public Document getOwnerDocument()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
DOMException
public Node removeChild(Node oldChild) throws DOMException
DOMException
public Node appendChild(Node newChild) throws DOMException
DOMException
public boolean hasChildNodes()
public Node cloneNode(boolean deep)
public void normalize()
public boolean hasAttributes()
public String getBaseURI()
public short compareDocumentPosition(Node other) throws DOMException
DOMException
public String getTextContent() throws DOMException
DOMException
public void setTextContent(String textContent) throws DOMException
DOMException
public boolean isSameNode(Node other)
public boolean isDefaultNamespace(String namespaceURI)
public boolean isEqualNode(Node other)
public Object setUserData(String key, Object data, UserDataHandler handler)
Copyright © 2020 JBoss by Red Hat. All rights reserved.