|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.dom.NodeImpl
org.exist.dom.DocumentImpl
public class DocumentImpl
Represents a persistent document object in the database; it can be an XML_FILE , a BINARY_FILE, or Xquery source code.
| Field Summary | |
|---|---|
static byte |
BINARY_FILE
|
static int |
LENGTH_DOCUMENT_ID
|
static int |
LENGTH_DOCUMENT_TYPE
|
protected BrokerPool |
pool
|
static int |
UNKNOWN_DOCUMENT_ID
|
static byte |
XML_FILE
|
| Fields inherited from class org.exist.dom.NodeImpl |
|---|
LOG |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
DocumentImpl(BrokerPool pool)
Creates a new DocumentImpl instance. |
|
DocumentImpl(BrokerPool pool,
Collection collection)
Creates a new DocumentImpl instance. |
|
DocumentImpl(BrokerPool pool,
Collection collection,
XmldbURI fileURI)
Creates a new DocumentImpl instance. |
|
DocumentImpl(BrokerPool pool,
XmldbURI fileURI)
Creates a new DocumentImpl instance. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Node |
adoptNode(org.w3c.dom.Node node)
The method adoptNode |
void |
appendChild(StoredNode child)
The method appendChild |
short |
compareDocumentPosition(org.w3c.dom.Node other)
? @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node) |
int |
compareTo(java.lang.Object other)
The method compareTo |
void |
copyChildren(DocumentImpl other)
The method copyChildren |
void |
copyOf(DocumentImpl other)
Copy the relevant internal fields from the specified document object. |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
The method createAttribute |
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
The method createAttributeNS |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
The method createCDATASection |
org.w3c.dom.Comment |
createComment(java.lang.String data)
The method createComment |
org.w3c.dom.DocumentFragment |
createDocumentFragment()
The method createDocumentFragment |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
The method createElement |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
The method createElementNS |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
The method createEntityReference |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
The method createProcessingInstruction |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
The method createTextNode |
protected org.w3c.dom.NodeList |
findElementsByTagName(StoredNode root,
QName qname)
The method findElementsByTagName |
java.lang.String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
BrokerPool |
getBrokerPool()
|
int |
getChildCount()
The method getChildCount |
org.w3c.dom.NodeList |
getChildNodes()
The method getChildNodes |
Collection |
getCollection()
The method getCollection |
long |
getContentLength()
Returns the estimated size of the data in this document. |
BrokerPool |
getDatabase()
|
int |
getDocId()
The method getDocId |
org.w3c.dom.DocumentType |
getDoctype()
The method getDoctype |
DocumentAtExist |
getDocumentAtExist()
|
org.w3c.dom.Element |
getDocumentElement()
The method getDocumentElement |
java.lang.String |
getDocumentURI()
? @see org.w3c.dom.Document#getDocumentURI() |
org.w3c.dom.DOMConfiguration |
getDomConfig()
? @see org.w3c.dom.Document#getDomConfig() |
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
The method getElementById |
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String tagname)
The method getElementsByTagName |
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
The method getElementsByTagNameNS |
java.lang.String |
getEncoding()
The method getEncoding |
java.lang.Object |
getFeature(java.lang.String feature,
java.lang.String version)
? @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String) |
XmldbURI |
getFileURI()
The method getFileURI |
org.w3c.dom.Node |
getFirstChild()
|
long |
getFirstChildAddress()
The method getFirstChildAddress |
int |
getFirstChildFor(int nodeNumber)
|
NodeProxy |
getFirstChildProxy()
|
protected org.w3c.dom.Node |
getFollowingSibling(StoredNode node)
The method getFollowingSibling |
org.w3c.dom.DOMImplementation |
getImplementation()
The method getImplementation |
java.lang.String |
getInputEncoding()
? @see org.w3c.dom.Document#getInputEncoding() |
java.lang.String |
getLocalName()
The method getLocalName |
DocumentMetadata |
getMetadata()
The method getMetadata |
java.lang.String |
getNamespaceURI()
The method getNamespaceURI |
int |
getNextNodeNumber(int nodeNr)
|
org.w3c.dom.Node |
getNextSibling()
The method getNextSibling |
NodeAtExist |
getNode(int nodeNr)
|
org.w3c.dom.Node |
getNode(NodeId nodeId)
The method getNode |
org.w3c.dom.Node |
getNode(NodeProxy p)
The method getNode |
NodeId |
getNodeId()
|
int |
getNodeNumber()
|
short |
getNodeType()
The method getNodeType |
org.w3c.dom.Document |
getOwnerDocument()
The method getOwnerDocument |
org.w3c.dom.Node |
getParentNode()
|
Permission |
getPermissions()
The method getMode |
org.w3c.dom.Node |
getPreviousSibling()
The method getPreviousSibling |
protected org.w3c.dom.Node |
getPreviousSibling(StoredNode node)
The method getPreviousSibling |
QName |
getQName()
The method getQName |
byte |
getResourceType()
Returns the type of this resource, either XML_FILE or
BINARY_FILE. |
boolean |
getStandalone()
The method getStandalone |
boolean |
getStrictErrorChecking()
The method getStrictErrorChecking |
java.lang.String |
getTextContent()
? @see org.w3c.dom.Node#getTextContent() |
Lock |
getUpdateLock()
Returns the update lock associated with this resource. |
XmldbURI |
getURI()
The method getURI |
java.lang.Object |
getUserData(java.lang.String key)
? @see org.w3c.dom.Node#getUserData(java.lang.String) |
Account |
getUserLock()
The method getUserLock |
java.lang.String |
getVersion()
The method getVersion |
java.lang.String |
getXmlEncoding()
? @see org.w3c.dom.Document#getXmlEncoding() |
boolean |
getXmlStandalone()
? @see org.w3c.dom.Document#getXmlStandalone() |
java.lang.String |
getXmlVersion()
? @see org.w3c.dom.Document#getXmlVersion() |
boolean |
hasReferenceNodes()
|
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep)
The method importNode |
void |
insertAfter(org.w3c.dom.NodeList nodes,
org.w3c.dom.Node refChild)
|
void |
insertBefore(org.w3c.dom.NodeList nodes,
org.w3c.dom.Node refChild)
|
boolean |
isCollectionConfig()
|
boolean |
isDefaultNamespace(java.lang.String namespaceURI)
? @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String) |
boolean |
isEqualNode(org.w3c.dom.Node arg)
? @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node) |
boolean |
isLockedForWrite()
Returns true if the document is currently locked for write. |
boolean |
isSameNode(org.w3c.dom.Node other)
? @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node) |
boolean |
isSupported(java.lang.String type,
java.lang.String value)
The method isSupported |
java.util.Iterator<NodeImpl> |
iterator()
|
java.lang.String |
lookupNamespaceURI(java.lang.String prefix)
? @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String) |
java.lang.String |
lookupPrefix(java.lang.String namespaceURI)
? @see org.w3c.dom.Node#lookupPrefix(java.lang.String) |
void |
normalizeDocument()
? @see org.w3c.dom.Document#normalizeDocument() |
void |
read(VariableByteInput istream)
The method read |
void |
readDocumentMeta(VariableByteInput istream)
The method readDocumentMeta |
org.w3c.dom.Node |
renameNode(org.w3c.dom.Node n,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
? @see org.w3c.dom.Document#renameNode(org.w3c.dom.Node, java.lang.String, java.lang.String) |
void |
setChildCount(int count)
The method setChildCount |
void |
setCollection(Collection parent)
The method setCollection |
void |
setDocId(int docId)
The method setDocId |
void |
setDocumentType(org.w3c.dom.DocumentType docType)
The method setDocumentType |
void |
setDocumentURI(java.lang.String documentURI)
? @see org.w3c.dom.Document#setDocumentURI(java.lang.String) |
void |
setEncoding(java.lang.String enc)
The method setEncoding |
void |
setFileURI(XmldbURI fileURI)
The method setFileURI |
void |
setMetadata(DocumentMetadata meta)
The method setMetadata |
void |
setOwnerDocument(org.w3c.dom.Document doc)
The method setOwnerDocument |
void |
setPermissions(Permission perm)
The method setMode |
void |
setStandalone(boolean alone)
The method setStandalone |
void |
setStrictErrorChecking(boolean strict)
The method setStrictErrorChecking |
void |
setTextContent(java.lang.String textContent)
? @see org.w3c.dom.Node#setTextContent(java.lang.String) |
java.lang.Object |
setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) |
void |
setUserLock(Account user)
The method setUserLock |
void |
setVersion(java.lang.String version)
The method setVersion |
void |
setXmlStandalone(boolean xmlStandalone)
? @see org.w3c.dom.Document#setXmlStandalone(boolean) |
void |
setXmlVersion(java.lang.String xmlVersion)
? @see org.w3c.dom.Document#setXmlVersion(java.lang.String) |
java.lang.String |
toString()
The method toString |
void |
triggerDefrag()
The method triggerDefrag |
StoredNode |
updateChild(Txn transaction,
org.w3c.dom.Node oldChild,
org.w3c.dom.Node newChild)
Update a child node. |
void |
write(VariableByteOutputStream ostream)
The method write |
| Methods inherited from class org.exist.dom.NodeImpl |
|---|
appendChild, appendChildren, calculateBaseURI, cloneNode, getAttributes, getAttributesCount, getLastChild, getNodeName, getNodeValue, getPrefix, hasAttributes, hasChildNodes, insertAfter, insertAfter, insertBefore, insertBefore, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setNodeName, setNodeValue, setPrefix, supports, updateChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, getAttributes, getLastChild, getNodeName, getNodeValue, getPrefix, hasAttributes, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Field Detail |
|---|
public static final int UNKNOWN_DOCUMENT_ID
public static final byte XML_FILE
public static final byte BINARY_FILE
public static int LENGTH_DOCUMENT_ID
public static int LENGTH_DOCUMENT_TYPE
protected BrokerPool pool
| Constructor Detail |
|---|
public DocumentImpl(BrokerPool pool)
DocumentImpl instance.
pool - a BrokerPool instance representing the db
public DocumentImpl(BrokerPool pool,
Collection collection)
DocumentImpl instance.
pool - a BrokerPool instance representing the dbcollection - a Collection value
public DocumentImpl(BrokerPool pool,
XmldbURI fileURI)
DocumentImpl instance.
pool - a BrokerPool instance representing the dbfileURI - a XmldbURI value
public DocumentImpl(BrokerPool pool,
Collection collection,
XmldbURI fileURI)
DocumentImpl instance.
pool - a BrokerPool instance representing the dbcollection - a Collection valuefileURI - a XmldbURI value| Method Detail |
|---|
public BrokerPool getBrokerPool()
public BrokerPool getDatabase()
getDatabase in interface DocumentAtExistpublic java.lang.String getLocalName()
getLocalName
getLocalName in interface org.w3c.dom.NodegetLocalName in class NodeImplString valueNode.getLocalName()public java.lang.String getNamespaceURI()
getNamespaceURI
getNamespaceURI in interface org.w3c.dom.NodegetNamespaceURI in class NodeImplString valueNode.getNamespaceURI()public Collection getCollection()
getCollection
Collection valuepublic void setCollection(Collection parent)
setCollection
parent - a Collection valuepublic int getDocId()
getDocId
getDocId in interface DocumentAtExistint valuepublic void setDocId(int docId)
setDocId
docId - an int valuepublic byte getResourceType()
XML_FILE or
BINARY_FILE.
public XmldbURI getFileURI()
getFileURI
XmldbURI valuepublic void setFileURI(XmldbURI fileURI)
setFileURI
fileURI - a XmldbURI valuepublic XmldbURI getURI()
getURI
getURI in interface DocumentAtExistXmldbURI valuepublic boolean isCollectionConfig()
public Permission getPermissions()
getMode
Permission valuepublic void setPermissions(Permission perm)
setMode
perm - a Permission valuepublic void setMetadata(DocumentMetadata meta)
setMetadata
meta - a DocumentMetadata valuepublic DocumentMetadata getMetadata()
getMetadata
DocumentMetadata valuepublic void copyOf(DocumentImpl other)
Collection when replacing a document.
other - a DocumentImpl valuepublic void copyChildren(DocumentImpl other)
copyChildren
other - a DocumentImpl valuepublic boolean isLockedForWrite()
public final Lock getUpdateLock()
public void setUserLock(Account user)
setUserLock
user - an User valuepublic Account getUserLock()
getUserLock
User valuepublic long getContentLength()
public void triggerDefrag()
triggerDefrag
public org.w3c.dom.Node getNode(NodeId nodeId)
getNode
nodeId - a NodeId value
Node valuepublic org.w3c.dom.Node getNode(NodeProxy p)
getNode
p - a NodeProxy value
Node value
public void appendChild(StoredNode child)
throws org.w3c.dom.DOMException
appendChild
child - a StoredNode value
org.w3c.dom.DOMException - if an error occurs
public void write(VariableByteOutputStream ostream)
throws java.io.IOException
write
ostream - a VariableByteOutputStream value
java.io.IOException - if an error occurs
public void read(VariableByteInput istream)
throws java.io.IOException,
java.io.EOFException
read
istream - a VariableByteInput value
java.io.IOException - if an error occurs
java.io.EOFException - if an error occurspublic void readDocumentMeta(VariableByteInput istream)
readDocumentMeta
istream - a VariableByteInput valuepublic final int compareTo(java.lang.Object other)
compareTo
compareTo in interface java.lang.Comparable<java.lang.Object>other - an DocumentImpl value
int value
public StoredNode updateChild(Txn transaction,
org.w3c.dom.Node oldChild,
org.w3c.dom.Node newChild)
throws org.w3c.dom.DOMException
NodeImpl
updateChild in class NodeImplorg.w3c.dom.DOMException
public void insertBefore(org.w3c.dom.NodeList nodes,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public void insertAfter(org.w3c.dom.NodeList nodes,
org.w3c.dom.Node refChild)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic org.w3c.dom.Node getFirstChild()
getFirstChild in interface org.w3c.dom.NodegetFirstChild in class NodeImplNode.getFirstChild()public NodeProxy getFirstChildProxy()
public long getFirstChildAddress()
getFirstChildAddress
long valuepublic org.w3c.dom.NodeList getChildNodes()
getChildNodes
getChildNodes in interface org.w3c.dom.NodegetChildNodes in class NodeImplNodeList valueprotected org.w3c.dom.Node getPreviousSibling(StoredNode node)
getPreviousSibling
node - a StoredNode value
Node valueprotected org.w3c.dom.Node getFollowingSibling(StoredNode node)
getFollowingSibling
node - a StoredNode value
Node value
protected org.w3c.dom.NodeList findElementsByTagName(StoredNode root,
QName qname)
findElementsByTagName
root - a StoredNode valueqname - a QName value
NodeList valuepublic org.w3c.dom.DocumentType getDoctype()
getDoctype
getDoctype in interface org.w3c.dom.DocumentDocumentType valuepublic void setDocumentType(org.w3c.dom.DocumentType docType)
setDocumentType
docType - a DocumentType valuepublic org.w3c.dom.Document getOwnerDocument()
getOwnerDocument
getOwnerDocument in interface org.w3c.dom.NodeDocument valuepublic void setOwnerDocument(org.w3c.dom.Document doc)
setOwnerDocument
doc - a Document valuepublic QName getQName()
getQName
getQName in interface QNameableQName valuepublic short getNodeType()
getNodeType
getNodeType in interface org.w3c.dom.Nodeshort valuepublic org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
getPreviousSibling in interface org.w3c.dom.NodeNode valuepublic org.w3c.dom.Node getNextSibling()
getNextSibling
getNextSibling in interface org.w3c.dom.NodeNode value
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
createAttribute
createAttribute in interface org.w3c.dom.Documentname - a String value
Attr value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createAttributeNS
createAttributeNS in interface org.w3c.dom.DocumentnamespaceURI - a String valuequalifiedName - a String value
Attr value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
createElement
createElement in interface org.w3c.dom.DocumenttagName - a String value
Element value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createElementNS
createElementNS in interface org.w3c.dom.DocumentnamespaceURI - a String valuequalifiedName - a String value
Element value
org.w3c.dom.DOMException - if an error occurspublic org.w3c.dom.Text createTextNode(java.lang.String data)
createTextNode
createTextNode in interface org.w3c.dom.Documentdata - a String value
Text valuepublic org.w3c.dom.Element getDocumentElement()
getDocumentElement
getDocumentElement in interface org.w3c.dom.DocumentElement valuepublic org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
getElementsByTagName
getElementsByTagName in interface org.w3c.dom.Documenttagname - a String value
NodeList value
public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
getElementsByTagNameNS
getElementsByTagNameNS in interface org.w3c.dom.DocumentnamespaceURI - a String valuelocalName - a String value
NodeList valuepublic org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.Nodepublic int getChildCount()
getChildCount
getChildCount in class NodeImplint valuepublic void setChildCount(int count)
setChildCount
setChildCount in class NodeImplcount - an int valuepublic java.lang.String getEncoding()
getEncoding
String valuepublic void setEncoding(java.lang.String enc)
setEncoding
enc - a String valuepublic java.lang.String getVersion()
getVersion
String valuepublic void setVersion(java.lang.String version)
setVersion
version - a String valuepublic boolean getStandalone()
getStandalone
boolean valuepublic void setStandalone(boolean alone)
setStandalone
alone - a boolean value
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
throws org.w3c.dom.DOMException
createCDATASection
createCDATASection in interface org.w3c.dom.Documentdata - a String value
CDATASection value
org.w3c.dom.DOMException - if an error occurspublic org.w3c.dom.Comment createComment(java.lang.String data)
createComment
createComment in interface org.w3c.dom.Documentdata - a String value
Comment value
public org.w3c.dom.DocumentFragment createDocumentFragment()
throws org.w3c.dom.DOMException
createDocumentFragment
createDocumentFragment in interface org.w3c.dom.DocumentDocumentFragment value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
throws org.w3c.dom.DOMException
createEntityReference
createEntityReference in interface org.w3c.dom.Documentname - a String value
EntityReference value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data)
throws org.w3c.dom.DOMException
createProcessingInstruction
createProcessingInstruction in interface org.w3c.dom.Documenttarget - a String valuedata - a String value
ProcessingInstruction value
org.w3c.dom.DOMException - if an error occurspublic org.w3c.dom.Element getElementById(java.lang.String elementId)
getElementById
getElementById in interface org.w3c.dom.DocumentelementId - a String value
Element valuepublic org.w3c.dom.DOMImplementation getImplementation()
getImplementation
getImplementation in interface org.w3c.dom.Documentorg.w3c.dom.DOMImplementation valuepublic boolean getStrictErrorChecking()
getStrictErrorChecking
getStrictErrorChecking in interface org.w3c.dom.Documentboolean value
public org.w3c.dom.Node adoptNode(org.w3c.dom.Node node)
throws org.w3c.dom.DOMException
adoptNode
adoptNode in interface org.w3c.dom.Documentnode - a Node value
Node value
org.w3c.dom.DOMException - if an error occurs
public org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode,
boolean deep)
throws org.w3c.dom.DOMException
importNode
importNode in interface org.w3c.dom.DocumentimportedNode - a Node valuedeep - a boolean value
Node value
org.w3c.dom.DOMException - if an error occurs
public boolean isSupported(java.lang.String type,
java.lang.String value)
isSupported
isSupported in interface org.w3c.dom.NodeisSupported in class NodeImpltype - a String valuevalue - a String value
boolean valueNode.isSupported(java.lang.String, java.lang.String)public void setStrictErrorChecking(boolean strict)
setStrictErrorChecking
setStrictErrorChecking in interface org.w3c.dom.Documentstrict - a boolean valuepublic java.lang.String getInputEncoding()
getInputEncoding in interface org.w3c.dom.Documentpublic java.lang.String getXmlEncoding()
getXmlEncoding in interface org.w3c.dom.Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface org.w3c.dom.Document
public void setXmlStandalone(boolean xmlStandalone)
throws org.w3c.dom.DOMException
setXmlStandalone in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic java.lang.String getXmlVersion()
getXmlVersion in interface org.w3c.dom.Document
public void setXmlVersion(java.lang.String xmlVersion)
throws org.w3c.dom.DOMException
setXmlVersion in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic java.lang.String getDocumentURI()
getDocumentURI in interface org.w3c.dom.Documentpublic void setDocumentURI(java.lang.String documentURI)
setDocumentURI in interface org.w3c.dom.Documentpublic org.w3c.dom.DOMConfiguration getDomConfig()
getDomConfig in interface org.w3c.dom.Documentpublic void normalizeDocument()
normalizeDocument in interface org.w3c.dom.Document
public org.w3c.dom.Node renameNode(org.w3c.dom.Node n,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
renameNode in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic java.lang.String getBaseURI()
getBaseURI in interface org.w3c.dom.NodegetBaseURI in class NodeImpl
public short compareDocumentPosition(org.w3c.dom.Node other)
throws org.w3c.dom.DOMException
compareDocumentPosition in interface org.w3c.dom.NodecompareDocumentPosition in class NodeImplorg.w3c.dom.DOMException
public java.lang.String getTextContent()
throws org.w3c.dom.DOMException
getTextContent in interface org.w3c.dom.NodegetTextContent in class NodeImplorg.w3c.dom.DOMException
public void setTextContent(java.lang.String textContent)
throws org.w3c.dom.DOMException
setTextContent in interface org.w3c.dom.NodesetTextContent in class NodeImplorg.w3c.dom.DOMExceptionpublic boolean isSameNode(org.w3c.dom.Node other)
isSameNode in interface org.w3c.dom.NodeisSameNode in class NodeImplpublic java.lang.String lookupPrefix(java.lang.String namespaceURI)
lookupPrefix in interface org.w3c.dom.NodelookupPrefix in class NodeImplpublic boolean isDefaultNamespace(java.lang.String namespaceURI)
isDefaultNamespace in interface org.w3c.dom.NodeisDefaultNamespace in class NodeImplpublic java.lang.String lookupNamespaceURI(java.lang.String prefix)
lookupNamespaceURI in interface org.w3c.dom.NodelookupNamespaceURI in class NodeImplpublic boolean isEqualNode(org.w3c.dom.Node arg)
isEqualNode in interface org.w3c.dom.NodeisEqualNode in class NodeImpl
public java.lang.Object getFeature(java.lang.String feature,
java.lang.String version)
getFeature in interface org.w3c.dom.NodegetFeature in class NodeImpl
public java.lang.Object setUserData(java.lang.String key,
java.lang.Object data,
org.w3c.dom.UserDataHandler handler)
setUserData in interface org.w3c.dom.NodesetUserData in class NodeImplpublic java.lang.Object getUserData(java.lang.String key)
getUserData in interface org.w3c.dom.NodegetUserData in class NodeImplpublic java.lang.String toString()
toString
toString in class java.lang.ObjectString valuepublic java.util.Iterator<NodeImpl> iterator()
iterator in interface java.lang.Iterable<NodeImpl>public DocumentAtExist getDocumentAtExist()
getDocumentAtExist in interface NodeAtExistpublic int getNodeNumber()
getNodeNumber in interface NodeAtExistpublic NodeId getNodeId()
getNodeId in interface NodeAtExistpublic int getFirstChildFor(int nodeNumber)
getFirstChildFor in interface DocumentAtExist
public NodeAtExist getNode(int nodeNr)
throws org.w3c.dom.DOMException
getNode in interface DocumentAtExistorg.w3c.dom.DOMException
public int getNextNodeNumber(int nodeNr)
throws org.w3c.dom.DOMException
getNextNodeNumber in interface DocumentAtExistorg.w3c.dom.DOMExceptionpublic boolean hasReferenceNodes()
hasReferenceNodes in interface DocumentAtExist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||