| java.lang.Object org.apache.xerces.impl.xs.opti.DefaultNode org.apache.xerces.impl.xs.opti.NodeImpl org.apache.xerces.impl.xs.opti.DefaultDocument
All known Subclasses: org.apache.xerces.impl.xs.opti.SchemaDOM,
DefaultDocument | public class DefaultDocument extends NodeImpl implements Document(Code) | | author: Rahul Srivastava, Sun Microsystems Inc. version: $Id: DefaultDocument.java 446728 2006-09-15 20:43:46Z mrglavas $ |
Method Summary | |
public Node | adoptNode(Node source) | public Attr | createAttribute(String name) | public Attr | createAttributeNS(String namespaceURI, String qualifiedName) | public CDATASection | createCDATASection(String data) | public Comment | createComment(String data) | public DocumentFragment | createDocumentFragment() | public Element | createElement(String tagName) | public Element | createElementNS(String namespaceURI, String qualifiedName) | public EntityReference | createEntityReference(String name) | public ProcessingInstruction | createProcessingInstruction(String target, String data) | public Text | createTextNode(String data) | public DocumentType | getDoctype() | public Element | getDocumentElement() | public String | getDocumentURI() The location of the document or null if undefined. | public DOMConfiguration | getDomConfig() The configuration used when Document.normalizeDocument is
invoked. | public Element | getElementById(String elementId) | public NodeList | getElementsByTagName(String tagname) | public NodeList | getElementsByTagNameNS(String namespaceURI, String localName) | public DOMImplementation | getImplementation() | public String | getInputEncoding() | public boolean | getStrictErrorChecking() An attribute specifying whether errors checking is enforced or not. | public String | getXmlEncoding() | public boolean | getXmlStandalone() An attribute specifying, as part of the XML declaration, whether this
document is standalone.
This attribute represents the property [standalone] defined in . | public String | getXmlVersion() An attribute specifying, as part of the XML declaration, the version
number of this document. | public Node | importNode(Node importedNode, boolean deep) | public void | normalizeDocument() | public Node | renameNode(Node n, String namespaceURI, String name) | public void | setDocumentURI(String documentURI) The location of the document or null if undefined. | public void | setStrictErrorChecking(boolean strictErrorChecking) An attribute specifying whether errors checking is enforced or not. | public void | setXmlStandalone(boolean standalone) An attribute specifying, as part of the XML declaration, whether this
document is standalone.
This attribute represents the property [standalone] defined in . | public void | setXmlVersion(String version) An attribute specifying, as part of the XML declaration, the version
number of this document. |
DefaultDocument | public DefaultDocument()(Code) | | |
getDocumentURI | public String getDocumentURI()(Code) | | The location of the document or null if undefined.
Beware that when the Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.
since: DOM Level 3 |
getDomConfig | public DOMConfiguration getDomConfig()(Code) | | The configuration used when Document.normalizeDocument is
invoked.
since: DOM Level 3 |
getStrictErrorChecking | public boolean getStrictErrorChecking()(Code) | | An attribute specifying whether errors checking is enforced or not.
When set to 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 |
getXmlEncoding | public String getXmlEncoding()(Code) | | public void setInputEncoding(String actualEncoding){
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Method not supported");
}
|
getXmlStandalone | public boolean getXmlStandalone()(Code) | | An attribute specifying, as part of the XML declaration, whether this
document is standalone.
This attribute represents the property [standalone] defined in .
since: DOM Level 3 |
getXmlVersion | public String getXmlVersion()(Code) | | An attribute specifying, as part of the XML declaration, the version
number of this document. This is null when unspecified.
This attribute represents the property [version] defined in .
exception: DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is not supported by this Document . since: DOM Level 3 |
normalizeDocument | public void normalizeDocument()(Code) | | DOM Level 3
|
setDocumentURI | public void setDocumentURI(String documentURI)(Code) | | The location of the document or null if undefined.
Beware that when the Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.
since: DOM Level 3 |
setStrictErrorChecking | public void setStrictErrorChecking(boolean strictErrorChecking)(Code) | | An attribute specifying whether errors checking is enforced or not.
When set to 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 |
setXmlStandalone | public void setXmlStandalone(boolean standalone)(Code) | | An attribute specifying, as part of the XML declaration, whether this
document is standalone.
This attribute represents the property [standalone] defined in .
since: DOM Level 3 |
setXmlVersion | public void setXmlVersion(String version) throws DOMException(Code) | | An attribute specifying, as part of the XML declaration, the version
number of this document. This is null when unspecified.
This attribute represents the property [version] defined in .
exception: DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is not supported by this Document . since: DOM Level 3 |
|
|