xtc.driver.XTCdom
Class Document
java.lang.Object
xtc.driver.XTCdom.Node
xtc.driver.XTCdom.Document
- All Implemented Interfaces:
- Document, Node
public class Document
- extends Node
- implements Document
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 |
Methods inherited from class xtc.driver.XTCdom.Node |
appendChild, cloneNode, compareDocumentPosition, createDomNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getFragmentNodes, getLastChild, getLocalName, getMD5hashCode, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getXTCdomRmi, getXTCnameID, getXTCvalueID, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
locator
private XTClocator locator
nodeBuffer
private NodeBuffer nodeBuffer
Document
public Document(XTCconnectionID sessionID,
XTCtransaction transaction,
XTCdomRmi xtcDomRmi,
XTClocator locator)
Document
public Document(XTCconnectionID sessionID,
XTCtransaction transaction,
XTCdomRmi xtcDomRmi,
XTClocator locator,
NodeBuffer nodeBuffer)
adoptNode
public Node adoptNode(Node node)
throws DOMException
- Specified by:
adoptNode
in interface Document
- Throws:
DOMException
createAttribute
public Attr createAttribute(String name)
throws DOMException
- Specified by:
createAttribute
in interface Document
- Throws:
DOMException
createAttributeNS
public Attr createAttributeNS(String namespaceURI,
String qualifiedName)
throws DOMException
- Specified by:
createAttributeNS
in interface Document
- Throws:
DOMException
createCDATASection
public CDATASection createCDATASection(String data)
throws DOMException
- Specified by:
createCDATASection
in interface Document
- Throws:
DOMException
createComment
public Comment createComment(String data)
throws DOMException
- Specified by:
createComment
in interface Document
- Throws:
DOMException
createDocumentFragment
public DocumentFragment createDocumentFragment()
throws DOMException
- Specified by:
createDocumentFragment
in interface Document
- Throws:
DOMException
createElement
public Element createElement(String tagName)
throws DOMException
- Specified by:
createElement
in interface Document
- Throws:
DOMException
createElementNS
public Element createElementNS(String namespaceURI,
String qualifiedName)
throws DOMException
- Specified by:
createElementNS
in interface Document
- Throws:
DOMException
createEntityReference
public EntityReference createEntityReference(String name)
throws DOMException
- Specified by:
createEntityReference
in interface Document
- Throws:
DOMException
createProcessingInstruction
public ProcessingInstruction createProcessingInstruction(String target,
String data)
throws DOMException
- Specified by:
createProcessingInstruction
in interface Document
- Throws:
DOMException
createTextNode
public Text createTextNode(String data)
throws DOMException
- Specified by:
createTextNode
in interface Document
- Throws:
DOMException
getDoctype
public DocumentType getDoctype()
throws DOMException
- Specified by:
getDoctype
in interface Document
- Throws:
DOMException
getDocumentElement
public Element getDocumentElement()
throws DOMException
- Specified by:
getDocumentElement
in interface Document
- Throws:
DOMException
getDocumentURI
public String getDocumentURI()
throws DOMException
- Specified by:
getDocumentURI
in interface Document
- Throws:
DOMException
getDomConfig
public DOMConfiguration getDomConfig()
throws DOMException
- Specified by:
getDomConfig
in interface Document
- Throws:
DOMException
getElementById
public Element getElementById(String elementId)
throws DOMException
- Specified by:
getElementById
in interface Document
- Throws:
DOMException
getElementsByTagName
public NodeList getElementsByTagName(String tagname)
throws DOMException
- Specified by:
getElementsByTagName
in interface Document
- Throws:
DOMException
getElementsByTagNameNS
public NodeList getElementsByTagNameNS(String namespaceURI,
String localName)
throws DOMException
- Specified by:
getElementsByTagNameNS
in interface Document
- Throws:
DOMException
getImplementation
public DOMImplementation getImplementation()
throws DOMException
- Specified by:
getImplementation
in interface Document
- Throws:
DOMException
getInputEncoding
public String getInputEncoding()
throws DOMException
- Specified by:
getInputEncoding
in interface Document
- Throws:
DOMException
getStrictErrorChecking
public boolean getStrictErrorChecking()
throws DOMException
- Specified by:
getStrictErrorChecking
in interface Document
- Throws:
DOMException
getXmlEncoding
public String getXmlEncoding()
throws DOMException
- Specified by:
getXmlEncoding
in interface Document
- Throws:
DOMException
getXmlStandalone
public boolean getXmlStandalone()
throws DOMException
- Specified by:
getXmlStandalone
in interface Document
- Throws:
DOMException
getXmlVersion
public String getXmlVersion()
throws DOMException
- Specified by:
getXmlVersion
in interface Document
- Throws:
DOMException
importNode
public Node importNode(Node importedNode,
boolean deep)
throws DOMException
- Specified by:
importNode
in interface Document
- Throws:
DOMException
normalizeDocument
public void normalizeDocument()
throws DOMException
- Specified by:
normalizeDocument
in interface Document
- Throws:
DOMException
renameNode
public Node renameNode(Node n,
String namespaceURI,
String qualifiedName)
throws DOMException
- Specified by:
renameNode
in interface Document
- Throws:
DOMException
setDocumentURI
public void setDocumentURI(String documentURI)
throws DOMException
- Specified by:
setDocumentURI
in interface Document
- Throws:
DOMException
setStrictErrorChecking
public void setStrictErrorChecking(boolean strictErrorChecking)
throws DOMException
- Specified by:
setStrictErrorChecking
in interface Document
- Throws:
DOMException
setXmlStandalone
public void setXmlStandalone(boolean xmlStandalone)
throws DOMException
- Specified by:
setXmlStandalone
in interface Document
- Throws:
DOMException
setXmlVersion
public void setXmlVersion(String xmlVersion)
throws DOMException
- Specified by:
setXmlVersion
in interface Document
- Throws:
DOMException
getLocator
public XTClocator getLocator()
getNode
public Node getNode(String deweyID)
throws DOMException
- Throws:
DOMException