|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.apache.xerces.impl.xs.opti.DefaultNode
|
+--org.apache.xerces.impl.xs.opti.NodeImpl
|
+--org.apache.xerces.impl.xs.opti.DefaultDocument
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
DefaultDocument()
|
|
| Method Summary | |
org.w3c.dom.Node |
adoptNode(org.w3c.dom.Node source)
DOM Level 3 |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
|
org.w3c.dom.Comment |
createComment(java.lang.String data)
|
org.w3c.dom.DocumentFragment |
createDocumentFragment()
|
org.w3c.dom.Element |
createElement(java.lang.String tagName)
|
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
|
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
|
org.w3c.dom.Text |
createTextNode(java.lang.String data)
|
java.lang.String |
getActualEncoding()
|
org.apache.xerces.dom3.DOMConfiguration |
getConfig()
The configuration used when Document.normalizeDocument is
invoked. |
org.w3c.dom.DocumentType |
getDoctype()
|
org.w3c.dom.Element |
getDocumentElement()
|
java.lang.String |
getDocumentURI()
The location of the document or null if undefined. |
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
|
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String tagname)
|
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.String |
getEncoding()
|
org.w3c.dom.DOMImplementation |
getImplementation()
|
boolean |
getStandalone()
An attribute specifying, as part of the XML declaration, whether this document is standalone. |
boolean |
getStrictErrorChecking()
An attribute specifying whether errors checking is enforced or not. |
java.lang.String |
getVersion()
An attribute specifying, as part of the XML declaration, the version number of this document. |
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep)
|
void |
normalizeDocument()
DOM Level 3 |
org.w3c.dom.Node |
renameNode(org.w3c.dom.Node n,
java.lang.String namespaceURI,
java.lang.String name)
DOM Level 3 |
void |
setActualEncoding(java.lang.String actualEncoding)
|
void |
setDocumentURI(java.lang.String documentURI)
The location of the document or null if undefined. |
void |
setEncoding(java.lang.String encoding)
An attribute specifying, as part of the XML declaration, the encoding of this document. |
void |
setStandalone(boolean standalone)
An attribute specifying, as part of the XML declaration, whether this document is standalone. |
void |
setStrictErrorChecking(boolean strictErrorChecking)
An attribute specifying whether errors checking is enforced or not. |
void |
setVersion(java.lang.String version)
An attribute specifying, as part of the XML declaration, the version number of this document. |
| Methods inherited from class org.apache.xerces.impl.xs.opti.NodeImpl |
getLocalName, getNamespaceURI, getNodeName, getNodeType, getPrefix, getReadOnly, setReadOnly |
| Methods inherited from class org.apache.xerces.impl.xs.opti.DefaultNode |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
public DefaultDocument()
| Method Detail |
public org.w3c.dom.DocumentType getDoctype()
getDoctype in interface org.w3c.dom.Documentpublic org.w3c.dom.DOMImplementation getImplementation()
getImplementation in interface org.w3c.dom.Documentpublic org.w3c.dom.Element getDocumentElement()
getDocumentElement in interface org.w3c.dom.Documentpublic org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
getElementsByTagName in interface org.w3c.dom.Document
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
getElementsByTagNameNS in interface org.w3c.dom.Documentpublic org.w3c.dom.Element getElementById(java.lang.String elementId)
getElementById in interface org.w3c.dom.Document
public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
boolean deep)
throws org.w3c.dom.DOMException
importNode in interface org.w3c.dom.Document
public org.w3c.dom.Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
createElement in interface org.w3c.dom.Documentpublic org.w3c.dom.DocumentFragment createDocumentFragment()
createDocumentFragment in interface org.w3c.dom.Documentpublic org.w3c.dom.Text createTextNode(java.lang.String data)
createTextNode in interface org.w3c.dom.Documentpublic org.w3c.dom.Comment createComment(java.lang.String data)
createComment in interface org.w3c.dom.Document
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
throws org.w3c.dom.DOMException
createCDATASection in interface org.w3c.dom.Document
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data)
throws org.w3c.dom.DOMException
createProcessingInstruction in interface org.w3c.dom.Document
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
createAttribute in interface org.w3c.dom.Document
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
throws org.w3c.dom.DOMException
createEntityReference in interface org.w3c.dom.Document
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createElementNS in interface org.w3c.dom.Document
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createAttributeNS in interface org.w3c.dom.Documentpublic java.lang.String getActualEncoding()
public void setActualEncoding(java.lang.String actualEncoding)
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
null when unspecified.public boolean getStandalone()
public void setStandalone(boolean standalone)
public java.lang.String getVersion()
null when unspecified.
org.w3c.dom.DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is
not supported by this Document.
public void setVersion(java.lang.String version)
throws org.w3c.dom.DOMException
null when unspecified.
org.w3c.dom.DOMException - NOT_SUPPORTED_ERR: Raised if the version is set to a value that is
not supported by this Document.public boolean getStrictErrorChecking()
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.public void setStrictErrorChecking(boolean strictErrorChecking)
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.public java.lang.String getDocumentURI()
null if undefined.
Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.public void setDocumentURI(java.lang.String documentURI)
null if undefined.
Document supports the feature
"HTML" , the href attribute of the HTML BASE element takes precedence
over this attribute.
public org.w3c.dom.Node adoptNode(org.w3c.dom.Node source)
throws org.w3c.dom.DOMException
public void normalizeDocument()
public org.apache.xerces.dom3.DOMConfiguration getConfig()
Document.normalizeDocument is
invoked.
public org.w3c.dom.Node renameNode(org.w3c.dom.Node n,
java.lang.String namespaceURI,
java.lang.String name)
throws org.w3c.dom.DOMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||