org.apache.xerces.impl.xs.opti
public class DefaultDocument extends NodeImpl implements Document
Version: $Id: DefaultDocument.java,v 1.9 2005/05/02 22:00:52 mrglavas Exp $
| Constructor Summary | |
|---|---|
| DefaultDocument() | |
| Method Summary | |
|---|---|
| Node | adoptNode(Node source) DOM Level 3 |
| Attr | createAttribute(String name) |
| Attr | createAttributeNS(String namespaceURI, String qualifiedName) |
| CDATASection | createCDATASection(String data) |
| Comment | createComment(String data) |
| DocumentFragment | createDocumentFragment() |
| Element | createElement(String tagName) |
| Element | createElementNS(String namespaceURI, String qualifiedName) |
| EntityReference | createEntityReference(String name) |
| ProcessingInstruction | createProcessingInstruction(String target, String data) |
| Text | createTextNode(String data) |
| DocumentType | getDoctype() |
| Element | getDocumentElement() |
| String | getDocumentURI()
The location of the document or null if undefined.
|
| DOMConfiguration | getDomConfig()
The configuration used when Document.normalizeDocument is
invoked. |
| Element | getElementById(String elementId) |
| NodeList | getElementsByTagName(String tagname) |
| NodeList | getElementsByTagNameNS(String namespaceURI, String localName) |
| DOMImplementation | getImplementation() |
| String | getInputEncoding() |
| boolean | getStrictErrorChecking()
An attribute specifying whether errors checking is enforced or not.
|
| String | getXmlEncoding()
public void setInputEncoding(String actualEncoding){
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
} |
| boolean | getXmlStandalone()
An attribute specifying, as part of the XML declaration, whether this
document is standalone.
|
| String | getXmlVersion()
An attribute specifying, as part of the XML declaration, the version
number of this document. |
| Node | importNode(Node importedNode, boolean deep) |
| void | normalizeDocument() DOM Level 3 |
| Node | renameNode(Node n, String namespaceURI, String name) DOM Level 3 |
| void | setDocumentURI(String documentURI)
The location of the document or null if undefined.
|
| void | setStrictErrorChecking(boolean strictErrorChecking)
An attribute specifying whether errors checking is enforced or not.
|
| void | setXmlStandalone(boolean standalone)
An attribute specifying, as part of the XML declaration, whether this
document is standalone.
|
| void | setXmlVersion(String version)
An attribute specifying, as part of the XML declaration, the version
number of this document. |
null if undefined.
Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.Since: DOM Level 3
Document.normalizeDocument is
invoked.Since: DOM Level 3
false, the implementation is free to not
test every possible error case normally defined on DOM operations,
and not raise any DOMException. In case of error, the
behavior is undefined. This attribute is true by
defaults.Since: DOM Level 3
Since: DOM Level 3
null when unspecified.
Throws: DOMException
NOT_SUPPORTED_ERR: Raised if the version is set to a value that is
not supported by this Document.
Since: DOM Level 3
null if undefined.
Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.Since: DOM Level 3
false, the implementation is free to not
test every possible error case normally defined on DOM operations,
and not raise any DOMException. In case of error, the
behavior is undefined. This attribute is true by
defaults.Since: DOM Level 3
Since: DOM Level 3
null when unspecified.
Throws: DOMException
NOT_SUPPORTED_ERR: Raised if the version is set to a value that is
not supported by this Document.
Since: DOM Level 3