| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Node | |
| public Attr | createAttribute(String name)
Implements org. Creates an |
| public Attr | createAttributeNS(String namespaceURI, String qualifiedName)
Implements org. Creates an attribute of the given qualified name and namespace URI. |
| public CDATASection | createCDATASection(String data)
Implements org. Creates a |
| public Comment | createComment(String data)
Implements org. Creates a |
| public DocumentFragment | createDocumentFragment()
Implements org. Creates an empty |
| public Element | createElement(String tagName)
Implements org. Creates an element of the type specified. |
| public Element | createElementNS(String namespaceURI, String qualifiedName)
Implements org. Creates an element of the given qualified name and namespace URI. |
| public EntityReference | createEntityReference(String name)
Implements org. Creates an |
| public ProcessingInstruction | createProcessingInstruction(String target, String data)
Implements org. Creates a |
| public Text | createTextNode(String data)
Implements org. Creates a |
| public DocumentType | getDoctype()
Implements org. The Document Type Declaration (see |
| public Element | getDocumentElement()
Implements org. This is a convenience attribute that allows direct access to the child node that is the document element of the document. |
| public String | getDocumentURI()
Implements org. The location of the document or |
| public DOMConfiguration | getDomConfig()
Implements org. The configuration used when |
| public Element | getElementById(String elementId)
Implements org. Returns the |
| public NodeList | getElementsByTagName(String tagname)
Implements org. Returns a |
| public NodeList | getElementsByTagNameNS(String namespaceURI, String localName)
Implements org. Returns a |
| public DOMImplementation | getImplementation()
Implements org. The |
| public String | getInputEncoding()
Implements org. An attribute specifying the encoding used for this document at the time of the parsing. |
| public boolean | getStrictErrorChecking()
Implements org. An attribute specifying whether errors checking is enforced or not. |
| public String | getXmlEncoding()
Implements org. public void setInputEncoding(String actualEncoding){ throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); } |
| 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 Node | importNode(Node importedNode, boolean deep)
Implements org. Imports a node from another document to this document, without altering or removing the source node from the original document; this method creates a new copy of the source node. |
| public void | |
| public Node | renameNode(Node n, String namespaceURI, String name)
Implements org. DOM Level 3 |
| public void | setDocumentURI(String documentURI)
Implements org. The location of the document or |
| public void | setStrictErrorChecking(boolean strictErrorChecking)
Implements org. An attribute specifying whether errors checking is enforced or not. |
| public void | setXmlStandalone(boolean standalone)
Implements org. An attribute specifying, as part of the XML declaration, whether this document is standalone. |
| public void | setXmlVersion(String version)
Implements org. An attribute specifying, as part of the XML declaration, the version number of this document. |
| fDocumentURI | back to summary |
|---|---|
| private String fDocumentURI | |
| DefaultDocument | back to summary |
|---|---|
| public DefaultDocument() | |
| adoptNode | back to summary |
|---|---|
| public Node adoptNode(Node source) throws DOMException Implements org. DOM Level 3
| |
| createAttribute | back to summary |
|---|---|
| public Attr createAttribute(String name) throws DOMException Implements org. Doc from org. Creates an
| |
| createAttributeNS | back to summary |
|---|---|
| public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException Implements org. Doc from org. Creates an attribute of the given qualified name and namespace URI.
| |
| createCDATASection | back to summary |
|---|---|
| public CDATASection createCDATASection(String data) throws DOMException Implements org. Doc from org. Creates a
| |
| createComment | back to summary |
|---|---|
| public Comment createComment(String data) Implements org. Doc from org. Creates a | |
| createDocumentFragment | back to summary |
|---|---|
| public DocumentFragment createDocumentFragment() Implements org. Doc from org. Creates an empty | |
| createElement | back to summary |
|---|---|
| public Element createElement(String tagName) throws DOMException Implements org. Doc from org. Creates an element of the type specified. Note that the instance
returned implements the
| |
| createElementNS | back to summary |
|---|---|
| public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException Implements org. Doc from org. Creates an element of the given qualified name and namespace URI.
| |
| createEntityReference | back to summary |
|---|---|
| public EntityReference createEntityReference(String name) throws DOMException Implements org. Doc from org. Creates an Note If any descendant of the
| |
| createProcessingInstruction | back to summary |
|---|---|
| public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException Implements org. Doc from org. Creates a
| |
| createTextNode | back to summary |
|---|---|
| public Text createTextNode(String data) Implements org. Doc from org. Creates a | |
| getDoctype | back to summary |
|---|---|
| public DocumentType getDoctype() Implements org. Doc from org. The Document Type Declaration (see | |
| getDocumentElement | back to summary |
|---|---|
| public Element getDocumentElement() Implements org. Doc from org. This is a convenience attribute that allows direct access to the child node that is the document element of the document. | |
| getDocumentURI | back to summary |
|---|---|
| public String getDocumentURI() Implements org. The location of the document or
| |
| getDomConfig | back to summary |
|---|---|
| public DOMConfiguration getDomConfig() Implements org. The configuration used when
| |
| getElementById | back to summary |
|---|---|
| public Element getElementById(String elementId) Implements org. Doc from org. Returns the Note Attributes with the name "ID" or "id" are not of type ID unless so defined. | |
| getElementsByTagName | back to summary |
|---|---|
| public NodeList getElementsByTagName(String tagname) Implements org. Doc from org. Returns a | |
| getElementsByTagNameNS | back to summary |
|---|---|
| public NodeList getElementsByTagNameNS(String namespaceURI, String localName) Implements org. Doc from org. Returns a | |
| getImplementation | back to summary |
|---|---|
| public DOMImplementation getImplementation() Implements org. Doc from org. The | |
| getInputEncoding | back to summary |
|---|---|
| public String getInputEncoding() Implements org. Doc from org. An attribute specifying the encoding used for this document at the time
of the parsing. This is | |
| getStrictErrorChecking | back to summary |
|---|---|
| public boolean getStrictErrorChecking() Implements org. An attribute specifying whether errors checking is enforced or not.
When set to
| |
| getXmlEncoding | back to summary |
|---|---|
| public String getXmlEncoding() Implements org. public void setInputEncoding(String actualEncoding){ throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported"); } | |
| getXmlStandalone | back to summary |
|---|---|
| public boolean getXmlStandalone() Implements org. An attribute specifying, as part of the XML declaration, whether this
document is standalone.
| |
| getXmlVersion | back to summary |
|---|---|
| public String getXmlVersion() Implements org. An attribute specifying, as part of the XML declaration, the version
number of this document. This is
| |
| importNode | back to summary |
|---|---|
| public Node importNode(Node importedNode, boolean deep) throws DOMException Implements org. Doc from org. Imports a node from another document to this document, without altering
or removing the source node from the original document; this method
creates a new copy of the source node. The returned node has no
parent; (
| |
| normalizeDocument | back to summary |
|---|---|
| public void normalizeDocument() Implements org. DOM Level 3 | |
| renameNode | back to summary |
|---|---|
| public Node renameNode(Node n, String namespaceURI, String name) throws DOMException Implements org. DOM Level 3
| |
| setDocumentURI | back to summary |
|---|---|
| public void setDocumentURI(String documentURI) Implements org. The location of the document or
| |
| setStrictErrorChecking | back to summary |
|---|---|
| public void setStrictErrorChecking(boolean strictErrorChecking) Implements org. An attribute specifying whether errors checking is enforced or not.
When set to
| |
| setXmlStandalone | back to summary |
|---|---|
| public void setXmlStandalone(boolean standalone) Implements org. An attribute specifying, as part of the XML declaration, whether this
document is standalone.
| |
| setXmlVersion | back to summary |
|---|---|
| public void setXmlVersion(String version) throws DOMException Implements org. An attribute specifying, as part of the XML declaration, the version
number of this document. This is
| |