|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.dom.NodeImpl
public abstract class NodeImpl
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
NodeImpl()
|
|
| Method Summary | |
|---|---|
Node |
appendChild(Node child)
|
void |
appendChildren(Txn transaction,
NodeList nodes,
int child)
|
Node |
cloneNode(boolean deep)
|
short |
compareDocumentPosition(Node other)
? @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node) |
NamedNodeMap |
getAttributes()
|
short |
getAttributesCount()
|
String |
getBaseURI()
? @see org.w3c.dom.Node#getBaseURI() |
int |
getChildCount()
|
NodeList |
getChildNodes()
|
Object |
getFeature(String feature,
String version)
? @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String) |
Node |
getFirstChild()
|
Node |
getLastChild()
|
String |
getLocalName()
|
String |
getNamespaceURI()
|
String |
getNodeName()
|
String |
getNodeValue()
|
String |
getPrefix()
|
String |
getTextContent()
? @see org.w3c.dom.Node#getTextContent() |
Object |
getUserData(String key)
? @see org.w3c.dom.Node#getUserData(java.lang.String) |
boolean |
hasAttributes()
|
boolean |
hasChildNodes()
|
Node |
insertAfter(Node newChild,
Node refChild)
|
void |
insertAfter(Txn transaction,
NodeList nodes,
Node refChild)
|
Node |
insertBefore(Node newChild,
Node refChild)
|
void |
insertBefore(Txn transaction,
NodeList nodes,
Node refChild)
|
boolean |
isDefaultNamespace(String namespaceURI)
? @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String) |
boolean |
isEqualNode(Node arg)
? @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node) |
boolean |
isSameNode(Node other)
? @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node) |
boolean |
isSupported(String key,
String value)
|
String |
lookupNamespaceURI(String prefix)
? @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String) |
String |
lookupPrefix(String namespaceURI)
? @see org.w3c.dom.Node#lookupPrefix(java.lang.String) |
void |
normalize()
|
Node |
removeChild(Node oldChild)
|
Node |
removeChild(Txn transaction,
Node oldChild)
|
Node |
replaceChild(Node newChild,
Node oldChild)
|
Node |
replaceChild(Txn transaction,
Node newChild,
Node oldChild)
|
void |
setAttributes(short attribNum)
Set the attributes that belong to this node. |
void |
setNodeName(QName name)
Set the node name. |
void |
setNodeValue(String value)
Set the node value. |
void |
setPrefix(String prefix)
Sets the prefix attribute of the NodeImpl object |
void |
setTextContent(String textContent)
? @see org.w3c.dom.Node#setTextContent(java.lang.String) |
Object |
setUserData(String key,
Object data,
UserDataHandler handler)
? @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) |
boolean |
supports(String feature,
String version)
Method supports. |
void |
updateChild(Node oldChild,
Node newChild)
|
StoredNode |
updateChild(Txn transaction,
Node oldChild,
Node newChild)
Update a child node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
getNextSibling, getNodeType, getOwnerDocument, getParentNode, getPreviousSibling |
| Methods inherited from interface org.exist.dom.QNameable |
|---|
getQName |
| Constructor Detail |
|---|
public NodeImpl()
| Method Detail |
|---|
public Node cloneNode(boolean deep)
cloneNode in interface NodeNode.cloneNode(boolean)
public Node appendChild(Node child)
throws DOMException
appendChild in interface NodeDOMExceptionNode.appendChild(org.w3c.dom.Node)
public Node removeChild(Node oldChild)
throws DOMException
removeChild in interface NodeDOMException
public Node replaceChild(Node newChild,
Node oldChild)
throws DOMException
replaceChild in interface NodeDOMExceptionNode.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public void updateChild(Node oldChild,
Node newChild)
throws DOMException
DOMException
public Node insertBefore(Node newChild,
Node refChild)
throws DOMException
insertBefore in interface NodeDOMExceptionNode.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public Node insertAfter(Node newChild,
Node refChild)
throws DOMException
DOMException
public void appendChildren(Txn transaction,
NodeList nodes,
int child)
throws DOMException
DOMException
public Node removeChild(Txn transaction,
Node oldChild)
throws DOMException
DOMException
public Node replaceChild(Txn transaction,
Node newChild,
Node oldChild)
throws DOMException
DOMException
public StoredNode updateChild(Txn transaction,
Node oldChild,
Node newChild)
throws DOMException
oldChild - newChild -
DOMException
public void insertBefore(Txn transaction,
NodeList nodes,
Node refChild)
throws DOMException
DOMException
public void insertAfter(Txn transaction,
NodeList nodes,
Node refChild)
throws DOMException
DOMExceptionpublic int getChildCount()
public NodeList getChildNodes()
getChildNodes in interface Nodepublic Node getFirstChild()
getFirstChild in interface NodeNode.getFirstChild()public Node getLastChild()
getLastChild in interface NodeNode.getLastChild()public boolean hasAttributes()
hasAttributes in interface NodeNode.hasAttributes()public short getAttributesCount()
public NamedNodeMap getAttributes()
getAttributes in interface NodeNode.getAttributes()public void setAttributes(short attribNum)
attribNum - The new attributes value
public String getNodeValue()
throws DOMException
getNodeValue in interface NodeDOMExceptionNode.getNodeValue()
public void setNodeValue(String value)
throws DOMException
setNodeValue in interface Nodevalue - The new nodeValue value
DOMException - Description of the Exceptionpublic boolean hasChildNodes()
hasChildNodes in interface NodeNode.hasChildNodes()public void setNodeName(QName name)
name - The new nodeName value
public boolean isSupported(String key,
String value)
isSupported in interface NodeNode.isSupported(java.lang.String, java.lang.String)public void normalize()
normalize in interface NodeNode.normalize()
public boolean supports(String feature,
String version)
feature - version -
public String getBaseURI()
getBaseURI in interface Node
public short compareDocumentPosition(Node other)
throws DOMException
compareDocumentPosition in interface NodeDOMException
public String getTextContent()
throws DOMException
getTextContent in interface NodeDOMException
public void setTextContent(String textContent)
throws DOMException
setTextContent in interface NodeDOMExceptionpublic boolean isSameNode(Node other)
isSameNode in interface Nodepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Node
public Object getFeature(String feature,
String version)
getFeature in interface Nodepublic Object getUserData(String key)
getUserData in interface Node
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setUserData in interface Nodepublic String getPrefix()
getPrefix in interface NodeNode.getPrefix()
public void setPrefix(String prefix)
throws DOMException
setPrefix in interface Nodeprefix - The new prefix value
DOMException - Description of the Exceptionpublic String getNamespaceURI()
getNamespaceURI in interface NodeNode.getNamespaceURI()public String getLocalName()
getLocalName in interface NodeNode.getLocalName()public String getNodeName()
getNodeName in interface NodeNode.getNodeName()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||