|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xpath.dtm.DTMProxy
**For internal use only**
It does _not_ attempt to address the "node identity" question; no effort
is made to prevent the creation of multiple proxies referring to a single
DTM node. Users can create a mechanism for managing this, or relinquish the
use of "==" and use the .sameNodeAs() mechanism, which is under
consideration for future versions of the DOM.
DTMProxy may be subclassed further to present specific DOM node types.DTMProxy
presents a DOM Node API front-end to the DTM model.
org.w3c.dom
Field Summary | |
DTM |
dtm
**For internal use only** |
Method Summary | |
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newChild)
**For internal use only** |
void |
appendData(java.lang.String arg)
**For internal use only** |
org.w3c.dom.Node |
cloneNode(boolean deep)
**For internal use only** |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
**For internal use only** |
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
**For internal use only** |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
**For internal use only** |
org.w3c.dom.Comment |
createComment(java.lang.String data)
**For internal use only** |
org.w3c.dom.DocumentFragment |
createDocumentFragment()
**For internal use only** |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
**For internal use only** |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
**For internal use only** |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
**For internal use only** |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
**For internal use only** |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
**For internal use only** |
void |
deleteData(int offset,
int count)
**For internal use only** |
boolean |
equals(org.w3c.dom.Node node)
**For internal use only** Test for equality based on node number. |
boolean |
equals(java.lang.Object node)
**For internal use only** Test for equality based on node number. |
java.lang.String |
getAttribute(java.lang.String name)
**For internal use only** |
org.w3c.dom.Attr |
getAttributeNode(java.lang.String name)
**For internal use only** |
org.w3c.dom.Attr |
getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** |
java.lang.String |
getAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** |
org.w3c.dom.NamedNodeMap |
getAttributes()
**For internal use only** |
org.w3c.dom.NodeList |
getChildNodes()
**For internal use only** |
java.lang.String |
getData()
**For internal use only** |
org.w3c.dom.DocumentType |
getDoctype()
**For internal use only** |
org.w3c.dom.Element |
getDocumentElement()
**For internal use only** |
DTM |
getDTM()
**For internal use only** NON-DOM: Return the DTM model |
int |
getDTMNodeNumber()
**For internal use only** NON-DOM: Return the DTM node number |
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
**For internal use only** |
org.w3c.dom.NodeList |
getElementsByTagName(java.lang.String tagname)
**For internal use only** |
org.w3c.dom.NodeList |
getElementsByTagNameNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** |
org.w3c.dom.Node |
getFirstChild()
**For internal use only** |
org.w3c.dom.DOMImplementation |
getImplementation()
**For internal use only** |
org.w3c.dom.Node |
getLastChild()
**For internal use only** |
int |
getLength()
**For internal use only** |
java.lang.String |
getLocalName()
**For internal use only** |
java.lang.String |
getName()
**For internal use only** |
java.lang.String |
getNamespaceURI()
**For internal use only** |
org.w3c.dom.Node |
getNextSibling()
**For internal use only** |
java.lang.String |
getNodeName()
**For internal use only** |
short |
getNodeType()
**For internal use only** |
java.lang.String |
getNodeValue()
**For internal use only** |
org.w3c.dom.Document |
getOwnerDocument()
**For internal use only** |
org.w3c.dom.Element |
getOwnerElement()
**For internal use only** |
org.w3c.dom.Node |
getOwnerNode()
**For internal use only** |
org.w3c.dom.Node |
getParentNode()
**For internal use only** |
java.lang.String |
getPrefix()
**For internal use only** |
org.w3c.dom.Node |
getPreviousSibling()
**For internal use only** |
boolean |
getSpecified()
**For internal use only** |
java.lang.String |
getTagName()
**For internal use only** |
java.lang.String |
getTarget()
**For internal use only** A PI's "target" states what processor channel the PI's data should be directed to. |
java.lang.String |
getValue()
**For internal use only** |
boolean |
hasAttribute(java.lang.String name)
**For internal use only** |
boolean |
hasAttributeNS(java.lang.String name,
java.lang.String x)
**For internal use only** |
boolean |
hasAttributes()
**For internal use only** Introduced in DOM Level 2. |
boolean |
hasChildNodes()
**For internal use only** |
org.w3c.dom.Node |
importNode(org.w3c.dom.Node importedNode,
boolean deep)
**For internal use only** |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild)
**For internal use only** |
void |
insertData(int offset,
java.lang.String arg)
**For internal use only** |
void |
normalize()
**For internal use only** |
void |
removeAttribute(java.lang.String name)
**For internal use only** |
org.w3c.dom.Attr |
removeAttributeNode(org.w3c.dom.Attr oldAttr)
**For internal use only** |
void |
removeAttributeNS(java.lang.String namespaceURI,
java.lang.String localName)
**For internal use only** |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild)
**For internal use only** |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node oldChild)
**For internal use only** |
void |
replaceData(int offset,
int count,
java.lang.String arg)
**For internal use only** |
boolean |
sameNodeAs(org.w3c.dom.Node other)
**For internal use only** FUTURE DOM: Test node identity, in lieu of Node==Node |
void |
setAttribute(java.lang.String name,
java.lang.String value)
**For internal use only** |
org.w3c.dom.Attr |
setAttributeNode(org.w3c.dom.Attr newAttr)
**For internal use only** |
org.w3c.dom.Attr |
setAttributeNodeNS(org.w3c.dom.Attr newAttr)
**For internal use only** |
void |
setAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String value)
**For internal use only** |
void |
setData(java.lang.String data)
**For internal use only** |
void |
setNodeValue(java.lang.String nodeValue)
**For internal use only** |
void |
setPrefix(java.lang.String prefix)
**For internal use only** |
void |
setValue(java.lang.String value)
**For internal use only** |
org.w3c.dom.Text |
splitText(int offset)
**For internal use only** |
java.lang.String |
substringData(int offset,
int count)
**For internal use only** |
boolean |
supports(java.lang.String feature,
java.lang.String version)
**For internal use only** |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public DTM dtm
Method Detail |
public final DTM getDTM()
public final int getDTMNodeNumber()
public final boolean equals(org.w3c.dom.Node node)
public final boolean equals(java.lang.Object node)
public final boolean sameNodeAs(org.w3c.dom.Node other)
public final java.lang.String getNodeName()
Node
public final java.lang.String getTarget()
In XML, a PI's "target" is the first (whitespace-delimited) token following the "" token that begins the PI.
In HTML, target is always null.
Note that getNodeName is aliased to getTarget.
public final java.lang.String getLocalName()
public final java.lang.String getPrefix()
public final void setPrefix(java.lang.String prefix) throws org.w3c.dom.DOMException
public final java.lang.String getNamespaceURI()
public final boolean supports(java.lang.String feature, java.lang.String version)
public final java.lang.String getNodeValue() throws org.w3c.dom.DOMException
Node
public final void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
public final short getNodeType()
Node
public final org.w3c.dom.Node getParentNode()
Node
public final org.w3c.dom.Node getOwnerNode()
Node
public final org.w3c.dom.NodeList getChildNodes()
Node
public final org.w3c.dom.Node getFirstChild()
Node
public final org.w3c.dom.Node getLastChild()
Node
public final org.w3c.dom.Node getPreviousSibling()
Node
public final org.w3c.dom.Node getNextSibling()
Node
public final org.w3c.dom.NamedNodeMap getAttributes()
Node
public boolean hasAttribute(java.lang.String name)
public boolean hasAttributeNS(java.lang.String name, java.lang.String x)
public final org.w3c.dom.Document getOwnerDocument()
Node
public final org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
public final org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
public final org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
public final org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) throws org.w3c.dom.DOMException
public final boolean hasChildNodes()
Node
public final org.w3c.dom.Node cloneNode(boolean deep)
public final org.w3c.dom.DocumentType getDoctype()
Document
public final org.w3c.dom.DOMImplementation getImplementation()
Document
public final org.w3c.dom.Element getDocumentElement()
Document
public final org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
Document
public final org.w3c.dom.DocumentFragment createDocumentFragment()
Document
public final org.w3c.dom.Text createTextNode(java.lang.String data)
Document
public final org.w3c.dom.Comment createComment(java.lang.String data)
Document
public final org.w3c.dom.CDATASection createCDATASection(java.lang.String data) throws org.w3c.dom.DOMException
Document
public final org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws org.w3c.dom.DOMException
Document
public final org.w3c.dom.Attr createAttribute(java.lang.String name) throws org.w3c.dom.DOMException
Document
public final org.w3c.dom.EntityReference createEntityReference(java.lang.String name) throws org.w3c.dom.DOMException
Document
public final org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
Document
public final org.w3c.dom.Node importNode(org.w3c.dom.Node importedNode, boolean deep) throws org.w3c.dom.DOMException
public final org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
public final org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
public final org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
public final org.w3c.dom.Element getElementById(java.lang.String elementId)
public final org.w3c.dom.Text splitText(int offset) throws org.w3c.dom.DOMException
Text
public final java.lang.String getData() throws org.w3c.dom.DOMException
CharacterData
public final void setData(java.lang.String data) throws org.w3c.dom.DOMException
CharacterData
public final int getLength()
CharacterData
public final java.lang.String substringData(int offset, int count) throws org.w3c.dom.DOMException
CharacterData
public final void appendData(java.lang.String arg) throws org.w3c.dom.DOMException
CharacterData
public final void insertData(int offset, java.lang.String arg) throws org.w3c.dom.DOMException
CharacterData
public final void deleteData(int offset, int count) throws org.w3c.dom.DOMException
CharacterData
public final void replaceData(int offset, int count, java.lang.String arg) throws org.w3c.dom.DOMException
CharacterData
public final java.lang.String getTagName()
Element
public final java.lang.String getAttribute(java.lang.String name)
Element
public final void setAttribute(java.lang.String name, java.lang.String value) throws org.w3c.dom.DOMException
Element
public final void removeAttribute(java.lang.String name) throws org.w3c.dom.DOMException
Element
public final org.w3c.dom.Attr getAttributeNode(java.lang.String name)
Element
public final org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
Element
public final org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr) throws org.w3c.dom.DOMException
Element
public boolean hasAttributes()
public final void normalize()
Element
public final java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
Element
public final void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value) throws org.w3c.dom.DOMException
Element
public final void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName) throws org.w3c.dom.DOMException
Element
public final org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
Element
public final org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr) throws org.w3c.dom.DOMException
Element
public final java.lang.String getName()
Attr
public final boolean getSpecified()
Attr
public final java.lang.String getValue()
Attr
public final void setValue(java.lang.String value)
Attr
public final org.w3c.dom.Element getOwnerElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |