Methods Summary |
---|
public org.w3c.dom.Node | appendChild(org.w3c.dom.Node newChild)
throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null);
|
public org.w3c.dom.Node | cloneNode(boolean deep)
return document.cloneNode(this, deep);
|
public org.w3c.dom.NamedNodeMap | getAttributes()
return null;
|
public org.w3c.dom.NodeList | getChildNodes()
return EMPTY_LIST;
|
public org.w3c.dom.Node | getFirstChild()
return null;
|
public org.w3c.dom.Node | getLastChild()
return null;
|
public java.lang.String | getLocalName()
return null;
|
public java.lang.String | getNamespaceURI()
return null;
|
public org.w3c.dom.Node | getNextSibling()
return null;
|
public java.lang.String | getNodeName()
return null;
|
public abstract short | getNodeType()
|
public java.lang.String | getNodeValue()
return null;
|
public org.w3c.dom.Document | getOwnerDocument()
return document;
|
public org.w3c.dom.Node | getParentNode()
return null;
|
public java.lang.String | getPrefix()
return null;
|
public org.w3c.dom.Node | getPreviousSibling()
return null;
|
public boolean | hasAttributes()
return false;
|
public boolean | hasChildNodes()
return false;
|
public org.w3c.dom.Node | insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null);
|
public boolean | isSupported(java.lang.String feature, java.lang.String version)
return DOMImplementationImpl.getInstance().hasFeature(feature, version);
|
private static boolean | matchesName(java.lang.String required, java.lang.String actual, boolean wildcard)Checks whether a required string matches an actual string. This utility
method is used for comparing namespaces and such. It takes into account
null arguments and the "*" special case.
if (wildcard && "*".equals(required)) {
return true;
}
if (required == null) {
return (actual == null);
}
return required.equals(actual);
|
public boolean | matchesName(java.lang.String name, boolean wildcard)Checks whether this node's name matches a required name. It takes into
account null arguments and the "*" special case.
return matchesName(name, getNodeName(), wildcard);
|
public boolean | matchesNameNS(java.lang.String namespaceURI, java.lang.String localName, boolean wildcard)Checks whether this node's namespace and local name match a required
pair of namespace and local name. It takes into account null arguments
and the "*" special case.
return matchesName(namespaceURI, getNamespaceURI(), wildcard) && matchesName(localName, getLocalName(), wildcard);
|
public void | normalize()
|
public org.w3c.dom.Node | removeChild(org.w3c.dom.Node oldChild)
throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null);
|
public org.w3c.dom.Node | replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null);
|
public void | setNodeValue(java.lang.String nodeValue)
|
public void | setPrefix(java.lang.String prefix)
|