|
|||||||
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 Node
Node.cloneNode(boolean)
public Node appendChild(Node child) throws DOMException
appendChild
in interface Node
DOMException
Node.appendChild(org.w3c.dom.Node)
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
DOMException
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
DOMException
Node.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 Node
DOMException
Node.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
DOMException
public int getChildCount()
public NodeList getChildNodes()
getChildNodes
in interface Node
public Node getFirstChild()
getFirstChild
in interface Node
Node.getFirstChild()
public Node getLastChild()
getLastChild
in interface Node
Node.getLastChild()
public boolean hasAttributes()
hasAttributes
in interface Node
Node.hasAttributes()
public short getAttributesCount()
public NamedNodeMap getAttributes()
getAttributes
in interface Node
Node.getAttributes()
public void setAttributes(short attribNum)
attribNum
- The new attributes valuepublic String getNodeValue() throws DOMException
getNodeValue
in interface Node
DOMException
Node.getNodeValue()
public void setNodeValue(String value) throws DOMException
setNodeValue
in interface Node
value
- The new nodeValue value
DOMException
- Description of the Exceptionpublic boolean hasChildNodes()
hasChildNodes
in interface Node
Node.hasChildNodes()
public void setNodeName(QName name)
name
- The new nodeName valuepublic boolean isSupported(String key, String value)
isSupported
in interface Node
Node.isSupported(java.lang.String, java.lang.String)
public void normalize()
normalize
in interface Node
Node.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 Node
DOMException
public String getTextContent() throws DOMException
getTextContent
in interface Node
DOMException
public void setTextContent(String textContent) throws DOMException
setTextContent
in interface Node
DOMException
public boolean isSameNode(Node other)
isSameNode
in interface Node
public String lookupPrefix(String namespaceURI)
lookupPrefix
in interface Node
public boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace
in interface Node
public String lookupNamespaceURI(String prefix)
lookupNamespaceURI
in interface Node
public boolean isEqualNode(Node arg)
isEqualNode
in interface Node
public Object getFeature(String feature, String version)
getFeature
in interface Node
public Object getUserData(String key)
getUserData
in interface Node
public Object setUserData(String key, Object data, UserDataHandler handler)
setUserData
in interface Node
public String getPrefix()
getPrefix
in interface Node
Node.getPrefix()
public void setPrefix(String prefix) throws DOMException
setPrefix
in interface Node
prefix
- The new prefix value
DOMException
- Description of the Exceptionpublic String getNamespaceURI()
getNamespaceURI
in interface Node
Node.getNamespaceURI()
public String getLocalName()
getLocalName
in interface Node
Node.getLocalName()
public String getNodeName()
getNodeName
in interface Node
Node.getNodeName()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |