public class DOMNode<T extends org.w3c.dom.Node> extends DOMWrapper<T>
Modifier | Constructor and Description |
---|---|
protected |
DOMNode(DOMImplementation impl,
T delegate) |
Modifier and Type | Method and Description |
---|---|
DOMNode |
appendChild(DOMNode newChild) |
DOMNode |
cloneNode(boolean deep) |
short |
compareDocumentPosition(DOMNode other) |
DOMNamedNodeMap |
getAttributes() |
java.lang.String |
getBaseURI() |
DOMNodeList |
getChildNodes() |
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version) |
DOMNode |
getFirstChild() |
DOMNode |
getLastChild() |
java.lang.String |
getLocalName() |
java.lang.String |
getNamespaceURI() |
DOMNode |
getNextSibling() |
java.lang.String |
getNodeName() |
short |
getNodeType() |
java.lang.CharSequence |
getNodeValue(Env env) |
DOMDocument |
getOwnerDocument() |
DOMNode |
getParentNode() |
java.lang.String |
getPrefix() |
DOMNode |
getPreviousSibling() |
java.lang.CharSequence |
getTextContent(Env env) |
java.lang.Object |
getUserData(java.lang.String key) |
boolean |
hasAttributes() |
boolean |
hasChildNodes() |
DOMNode |
insertBefore(DOMNode newChild,
DOMNode refChild) |
boolean |
isDefaultNamespace(java.lang.String namespaceURI) |
boolean |
isEqualNode(DOMNode arg) |
boolean |
isSameNode(DOMNode other) |
boolean |
isSupported(java.lang.String feature,
java.lang.String version) |
java.lang.String |
lookupNamespaceURI(java.lang.String prefix) |
java.lang.String |
lookupPrefix(java.lang.String namespaceURI) |
void |
normalize() |
DOMNode |
removeChild(DOMNode oldChild) |
DOMNode |
replaceChild(DOMNode newChild,
DOMNode oldChild) |
void |
setNodeValue(java.lang.String nodeValue) |
void |
setPrefix(java.lang.String prefix) |
void |
setTextContent(java.lang.String textContent) |
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data) |
java.lang.String |
toString() |
getImpl, getImpl, wrap, wrap
protected DOMNode(DOMImplementation impl, T delegate)
public DOMNode appendChild(DOMNode newChild) throws DOMException
DOMException
public DOMNode cloneNode(boolean deep)
public short compareDocumentPosition(DOMNode other) throws DOMException
DOMException
public DOMNamedNodeMap getAttributes()
public java.lang.String getBaseURI()
public DOMNodeList getChildNodes()
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
public DOMNode getFirstChild()
public DOMNode getLastChild()
public java.lang.String getLocalName()
public java.lang.String getNamespaceURI()
public DOMNode getNextSibling()
public java.lang.String getNodeName()
public short getNodeType()
public java.lang.CharSequence getNodeValue(Env env) throws DOMException
DOMException
public DOMDocument getOwnerDocument()
public DOMNode getParentNode()
public java.lang.String getPrefix()
public DOMNode getPreviousSibling()
public java.lang.CharSequence getTextContent(Env env) throws DOMException
DOMException
public java.lang.Object getUserData(java.lang.String key)
public boolean hasAttributes()
public boolean hasChildNodes()
public DOMNode insertBefore(DOMNode newChild, DOMNode refChild) throws DOMException
DOMException
public boolean isDefaultNamespace(java.lang.String namespaceURI)
public boolean isEqualNode(DOMNode arg)
public boolean isSameNode(DOMNode other)
public boolean isSupported(java.lang.String feature, java.lang.String version)
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
public java.lang.String lookupPrefix(java.lang.String namespaceURI)
public void normalize()
public DOMNode removeChild(DOMNode oldChild) throws DOMException
DOMException
public DOMNode replaceChild(DOMNode newChild, DOMNode oldChild) throws DOMException
DOMException
public void setNodeValue(java.lang.String nodeValue) throws DOMException
DOMException
public void setPrefix(java.lang.String prefix) throws DOMException
DOMException
public void setTextContent(java.lang.String textContent) throws DOMException
DOMException
public java.lang.Object setUserData(java.lang.String key, java.lang.Object data)
public java.lang.String toString()
toString
in class java.lang.Object