Modifier and Type | Field and Description |
---|---|
protected String | actualEncoding
Experimental DOM Level 3 feature: Document actualEncoding |
protected String | fDocumentURI
Experimental DOM Level 3 feature: documentURI |
private String | |
private boolean | |
private String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public Node | adoptNode(Node
The node to move into this document. source)Implements org. NEEDSDOC Method adoptNode NEEDSDOC @param source NEEDSDOC (adoptNode) @return |
public Node | Returns: nullNew node to append to the list of this node's children newChild)Implements org. Unimplemented. |
public void | |
public Node | Returns: nullFlag indicating whether to clone deep (clone member variables) deep)Implements org. Unimplemented. |
public short | Returns: Returns how the given node is positioned relatively to this node.The node to compare against this node. other)Implements org. Compares a node with this node with regard to their position in the document. |
public Attr | Returns: nullAttribute name name)Implements org. Unimplemented. |
public Attr | Returns: nullNamespace URI of the attribute namespaceURI, String Qualified name of the attribute qualifiedName)Implements org. Unimplemented. |
public CDATASection | Returns: nullData for CDATA section data)Implements org. Unimplemented. |
public Comment | Returns: nullData for comment data)Implements org. Unimplemented. |
public DocumentFragment | Returns: nullImplements org. Unimplemented. |
public Element | Returns: nullElement tag name tagName)Implements org. Unimplemented. |
public Element | Returns: nullNamespace URI for the element namespaceURI, String Qualified name of the element qualifiedName)Implements org. Unimplemented. |
public EntityReference | Returns: nullEntity Reference name name)Implements org. Unimplemented. |
public ProcessingInstruction | Returns: nullTarget for Processing instruction target, String Data for Processing instruction data)Implements org. Unimplemented. |
public Text | Returns: nullData for text node data)Implements org. Unimplemented. |
public void | deleteData(int
Start offset of substring to delete. offset, int The length of the substring to delete. count)Unimplemented. |
public void | |
public void | |
public String | |
public String | Returns: nullName of attribute to get name)Implements org. Unimplemented. |
public Attr | Returns: nullAttribute node name name)Implements org. Unimplemented. |
public Attr | Returns: nullNamespace URI of attribute node to get namespaceURI, String Local part of qualified name of attribute node to get localName)Implements org. Unimplemented. |
public String | Returns: nullNamespace URI of attribute node to get namespaceURI, String Local part of qualified name of attribute node to get localName)Implements org. Unimplemented. |
public NamedNodeMap | |
public String | getBaseURI()
Implements org. The absolute base URI of this node or |
public NodeList | |
public DocumentType | |
public Element | |
public String | |
public DOMConfiguration | getDomConfig()
Implements org. The configuration used when |
public Element | Returns: nullID of the element to get elementId)Implements org. Unimplemented. |
public NodeList | Returns: nullName of the element name)Implements org. Unimplemented. |
public NodeList | Returns: nullNamespace URI of the element namespaceURI, String Local part of qualified name of the element localName)Implements org. Unimplemented. |
public Object | Returns: Returns an object which implements the specialized APIs of the specified feature and version, if any, ornull if
there is no object which implements interfaces associated with that
feature. If the DOMObject returned by this method
implements the Node interface, it must delegate to the
primary core Node and not return results inconsistent
with the primary core Node such as attributes,
childNodes, etc.The name of the feature requested (case-insensitive). feature, String This is the version number of the feature to test. If
the version is version)null or the empty string, supporting
any version of the feature will cause the method to return an
object that supports at least one version of the feature.Implements org. This method returns a specialized object which implements the specialized APIs of the specified feature and version. |
public Node | |
public DOMImplementation | |
public String | |
public Node | |
public int | |
public String | |
public String | |
public Node | |
public String | |
public short | |
public String | |
public Document | |
public Element | |
public Node | |
public String | |
public Node | |
public TypeInfo | Returns: TypeInfoImplements org. Method getSchemaTypeInfo. |
public boolean | |
public boolean | |
public boolean | |
public String | |
public String | getTextContent()
Implements org. This attribute returns the text content of this node and its descendants. |
public Object | Returns: Returns theDOMObject associated to the given key
on this node, or null if there was none.The key the object is associated to. key)Implements org. Retrieves the object associated to a key on a this node. |
public String | |
public String | |
public String | getXmlEncoding()
Implements org. An attribute specifying, as part of the XML declaration, the encoding of this document. |
public boolean | getXmlStandalone()
Implements org. An attribute specifying, as part of the XML declaration, whether this document is standalone. |
public String | getXmlVersion()
Implements org. An attribute specifying, as part of the XML declaration, the version number of this document. |
public boolean | Returns: falseName of an attribute name)Implements org. Unimplemented. |
public boolean | Returns: falseImplements org. Unimplemented. |
public boolean | |
public boolean | |
public Node | Returns: nullThe node to import. importedNode, boolean If deep)true , recursively import the subtree under
the specified node; if false , import only the node
itself, as explained above. This has no effect on Attr
, EntityReference , and Notation nodes.Implements org. Unimplemented. |
public Node | Returns: nullNew child node to insert newChild, Node Insert in front of this child refChild)Implements org. Unimplemented. |
public void | insertData(int
Start offset of substring to insert. offset, String The (sub)string to insert. arg)Unimplemented. |
public boolean | Returns: true if the specified namespaceURI
is the default namespace, false otherwise.The namespace URI to look for. namespaceURI)Implements org. DOM Level 3: Experimental
This method checks if the specified |
public boolean | Returns: If the nodes, and possibly subtrees are equal,true otherwise false .The node to compare equality with. arg)Implements org. Tests whether two nodes are equal. |
public boolean | |
public boolean | Returns: Returnstrue if the nodes are the same,
false otherwise.The node to test against. other)Implements org. Returns whether this node is the same node as the given one. |
public boolean | Returns: Returnsfalse The name of the feature to test. This is the same name
which can be passed to the method feature, String hasFeature on
DOMImplementation .This is the version number of the feature to test. In
Level 2, version 1, this is the string "2.0". If the version is not
specified, supporting any version of the feature will cause the
method to return version)true .Implements org. Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. |
public boolean | |
public Node | Returns: nullindex of a child of this node in its list of children index)Implements org. Unimplemented. |
public String | Returns: th URI for the namespaceThe prefix to look for. If this parameter is
specifiedPrefix)null , the method will return the default namespace URI
if any.Implements org. DOM Level 3 - Experimental: Look up the namespace URI associated to the given prefix, starting from this node. |
public String | Returns: the prefix for the namespaceImplements org. DOM Level 3 - Experimental: Look up the prefix associated to the given namespace URI, starting from this node. |
public void | |
public void | normalizeDocument()
Implements org. DOM Level 3 WD - Experimental Normalize document. |
public void | removeAttribute(String
Attribute node name to remove from list of attributes name)Implements org. Unimplemented. |
public Attr | Returns: nullAttribute to be removed from this node's list of attributes oldAttr)Implements org. Unimplemented. |
public void | removeAttributeNS(String
Namespace URI of attribute node to remove namespaceURI, String Local part of qualified name of attribute node to remove localName)Implements org. Unimplemented. |
public Node | Returns: nullChild to be removed oldChild)Implements org. Unimplemented. |
public Node | renameNode(Node
The node to rename. n, String The new namespace URI. namespaceURI, String The new qualified name. name)Implements org. DOM Level 3 WD - Experimental. |
public Node | Returns: nullReplace existing child with this one newChild, Node Existing child to be replaced oldChild)Implements org. Unimplemented. |
public void | replaceData(int
Start offset of substring to replace. offset, int The length of the substring to replace. count, String substring to replace with arg)Unimplemented. |
public Text | |
public void | |
public void | setAttribute(String
Name of attribute to set name, String Value of attribute value)Implements org. Unimplemented. |
public Attr | Returns: nullAttribute node to be added to this node's list of attributes newAttr)Implements org. Unimplemented. |
public Attr | Returns: nullAttribute to set newAttr)Implements org. Unimplemented. |
public void | setAttributeNS(String
Namespace URI of attribute node to set namespaceURI, String qualified name of attribute qualifiedName, String value of attribute value)Implements org. Unimplemented. |
public void | |
public void | setDocumentURI(String documentURI)
Implements org. DOM Level 3 WD - Experimental. |
public void | |
public void | setIdAttribute(String
The name of the attribute. name, boolean Whether the attribute is a of type ID. makeId)Implements org. DOM Level 3: register the given attribute node as an ID attribute |
public void | setIdAttributeNode(Attr
The attribute node. at, boolean Whether the attribute is a of type ID. makeId)Implements org. DOM Level 3: register the given attribute node as an ID attribute |
public void | setIdAttributeNS(String
The namespace URI of the attribute. namespaceURI, String The local name of the attribute. localName, boolean Whether the attribute is a of type ID. makeId)Implements org. DOM Level 3: register the given attribute node as an ID attribute |
public void | |
public void | setNodeValue(String
Value to set this node to nodeValue)Implements org. Unimplemented. |
public void | setPrefix(String
Prefix to set for this node prefix)Implements org. Unimplemented. |
public void | |
public void | setStrictErrorChecking(boolean strictErrorChecking)
Implements org. EXPERIMENTAL! |
public void | setTextContent(String textContent)
Implements org. This attribute returns the text content of this node and its descendants. |
public Object | setUserData(String
The key to associate the object to. key, Object The object to associate to the given key, or
data, UserDataHandler null to remove any existing association to that key.The handler to associate to that key, or
handler)null .Implements org. Associate an object to a key on this node. |
public void | |
public void | |
public void | |
public void | setXmlStandalone(boolean xmlStandalone)
Implements org. An attribute specifying, as part of the XML declaration, whether this document is standalone. |
public void | setXmlVersion(String xmlVersion)
Implements org. An attribute specifying, as part of the XML declaration, the version number of this document. |
public Text | |
public String | Returns: nullStart offset of substring to extract. offset, int The length of the substring to extract. count)Unimplemented. |