public abstract class QNode extends QAbstractNode
Modifier and Type | Class and Description |
---|---|
class |
QNode.ChildNodeList |
Modifier and Type | Field and Description |
---|---|
protected QAbstractNode |
_firstChild |
protected QAbstractNode |
_lastChild |
L
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
Modifier | Constructor and Description |
---|---|
protected |
QNode() |
protected |
QNode(QDocument owner) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Node |
appendChild(org.w3c.dom.Node newNode) |
boolean |
checkValid()
For testing...
|
boolean |
equals(org.w3c.dom.Node arg,
boolean deep) |
boolean |
equals(java.lang.Object arg) |
org.w3c.dom.NamedNodeMap |
getAttributes() |
org.w3c.dom.NodeList |
getChildNodes()
Returns a node list of the children.
|
org.w3c.dom.Node |
getFirstChild() |
org.w3c.dom.Node |
getLastChild() |
QAbstractNode |
getNextPreorder() |
org.w3c.dom.Node |
getNextSibling() |
java.lang.String |
getNodeValue() |
org.w3c.dom.Node |
getPreviousSibling() |
boolean |
hasChildNodes() |
org.w3c.dom.Node |
insertBefore(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild) |
void |
normalize() |
org.w3c.dom.Node |
removeChild(org.w3c.dom.Node oldChild) |
org.w3c.dom.Node |
replaceChild(org.w3c.dom.Node newChild,
org.w3c.dom.Node refChild) |
void |
setNodeValue(java.lang.String value) |
void |
setTextContent(java.lang.String content) |
baseURI, cloneNode, compareDocumentPosition, compareTreePosition, getBaseURI, getCanonicalName, getColumn, getDependencyList, getFeature, getFilename, getInterface, getLine, getLocalName, getNamespaceURI, getNextContent, getOwnerDocument, getParentNode, getPrefix, getPreviousContent, getQName, getTextContent, getTextValue, getUserData, hasAttributes, hasContent, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, print, printHtml, printPretty, setFeature, setLocation, setPrefix, setUserData, supports
protected QAbstractNode _firstChild
protected QAbstractNode _lastChild
protected QNode()
protected QNode(QDocument owner)
public java.lang.String getNodeValue()
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class QAbstractNode
public void setNodeValue(java.lang.String value)
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class QAbstractNode
public org.w3c.dom.NodeList getChildNodes()
getChildNodes
in interface org.w3c.dom.Node
getChildNodes
in class QAbstractNode
public org.w3c.dom.Node getFirstChild()
getFirstChild
in interface org.w3c.dom.Node
getFirstChild
in class QAbstractNode
public org.w3c.dom.Node getLastChild()
getLastChild
in interface org.w3c.dom.Node
getLastChild
in class QAbstractNode
public org.w3c.dom.Node getPreviousSibling()
getPreviousSibling
in interface org.w3c.dom.Node
getPreviousSibling
in class QAbstractNode
public org.w3c.dom.Node getNextSibling()
getNextSibling
in interface org.w3c.dom.Node
getNextSibling
in class QAbstractNode
public org.w3c.dom.NamedNodeMap getAttributes()
getAttributes
in interface org.w3c.dom.Node
getAttributes
in class QAbstractNode
public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
insertBefore
in interface org.w3c.dom.Node
insertBefore
in class QAbstractNode
org.w3c.dom.DOMException
public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild) throws org.w3c.dom.DOMException
replaceChild
in interface org.w3c.dom.Node
replaceChild
in class QAbstractNode
org.w3c.dom.DOMException
public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) throws org.w3c.dom.DOMException
removeChild
in interface org.w3c.dom.Node
removeChild
in class QAbstractNode
org.w3c.dom.DOMException
public org.w3c.dom.Node appendChild(org.w3c.dom.Node newNode) throws org.w3c.dom.DOMException
appendChild
in interface org.w3c.dom.Node
appendChild
in class QAbstractNode
org.w3c.dom.DOMException
public boolean hasChildNodes()
hasChildNodes
in interface org.w3c.dom.Node
hasChildNodes
in class QAbstractNode
public void setTextContent(java.lang.String content)
setTextContent
in interface org.w3c.dom.Node
setTextContent
in class QAbstractNode
public void normalize()
normalize
in interface org.w3c.dom.Node
normalize
in class QAbstractNode
public boolean checkValid() throws java.lang.Exception
CauchoNode
checkValid
in interface CauchoNode
checkValid
in class QAbstractNode
java.lang.Exception
public QAbstractNode getNextPreorder()
getNextPreorder
in class QAbstractNode
public boolean equals(java.lang.Object arg)
equals
in class java.lang.Object
public boolean equals(org.w3c.dom.Node arg, boolean deep)
equals
in class QAbstractNode