org.kde.qt
Class QDomNode

java.lang.Object
  extended by org.kde.qt.QDomNode
All Implemented Interfaces:
QtSupport
Direct Known Subclasses:
QDomAttr, QDomCharacterData, QDomDocument, QDomDocumentFragment, QDomDocumentType, QDomElement, QDomEntity, QDomEntityReference, QDomNotation, QDomProcessingInstruction

public class QDomNode
extends java.lang.Object
implements QtSupport


Field Summary
static int AttributeNode
           
static int BaseNode
           
static int CDATASectionNode
           
static int CharacterDataNode
           
static int CommentNode
           
static int DocumentFragmentNode
           
static int DocumentNode
           
static int DocumentTypeNode
           
static int ElementNode
           
static int EntityNode
           
static int EntityReferenceNode
           
static int NotationNode
           
static int ProcessingInstructionNode
           
static int TextNode
           
 
Constructor Summary
  QDomNode()
           
protected QDomNode(java.lang.Class dummy)
           
  QDomNode(QDomNode arg1)
           
 
Method Summary
 QDomNode appendChild(QDomNode newChild)
           
 QDomNamedNodeMap attributes()
           
 java.util.ArrayList childNodes()
           
 void clear()
           
 QDomNode cloneNode()
           
 QDomNode cloneNode(boolean deep)
           
 void dispose()
          Delete the wrapped C++ instance ahead of finalize()
protected  void finalize()
          Deletes the wrapped C++ instance
 QDomNode firstChild()
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 QDomNode insertAfter(QDomNode newChild, QDomNode refChild)
           
 QDomNode insertBefore(QDomNode newChild, QDomNode refChild)
           
 boolean isAttr()
           
 boolean isCDATASection()
           
 boolean isCharacterData()
           
 boolean isComment()
           
 boolean isDisposed()
          Has the wrapped C++ instance been deleted?
 boolean isDocument()
           
 boolean isDocumentFragment()
           
 boolean isDocumentType()
           
 boolean isElement()
           
 boolean isEntity()
           
 boolean isEntityReference()
           
 boolean isNotation()
           
 boolean isNull()
           
 boolean isProcessingInstruction()
           
 boolean isSupported(java.lang.String feature, java.lang.String version)
           
 boolean isText()
           
 QDomNode lastChild()
           
 java.lang.String localName()
           
 QDomNode namedItem(java.lang.String name)
          Shortcut to avoid dealing with QDomArrayList all the time.
 java.lang.String namespaceURI()
           
 QDomNode nextSibling()
           
 java.lang.String nodeName()
           
 int nodeType()
           
 java.lang.String nodeValue()
           
 void normalize()
           
 boolean op_equals(QDomNode arg1)
           
 boolean op_not_equals(QDomNode arg1)
           
 QDomDocument ownerDocument()
           
 QDomNode parentNode()
           
 java.lang.String prefix()
           
 QDomNode previousSibling()
           
 QDomNode removeChild(QDomNode oldChild)
           
 QDomNode replaceChild(QDomNode newChild, QDomNode oldChild)
           
 void save(QTextStream arg1, int arg2)
           
 void setNodeValue(java.lang.String arg1)
           
 void setPrefix(java.lang.String pre)
           
 QDomAttr toAttr()
           
 QDomCDATASection toCDATASection()
           
 QDomCharacterData toCharacterData()
           
 QDomComment toComment()
           
 QDomDocument toDocument()
           
 QDomDocumentFragment toDocumentFragment()
           
 QDomDocumentType toDocumentType()
           
 QDomElement toElement()
           
 QDomEntity toEntity()
           
 QDomEntityReference toEntityReference()
           
 QDomNotation toNotation()
           
 QDomProcessingInstruction toProcessingInstruction()
           
 QDomText toText()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ElementNode

public static final int ElementNode
See Also:
Constant Field Values

AttributeNode

public static final int AttributeNode
See Also:
Constant Field Values

TextNode

public static final int TextNode
See Also:
Constant Field Values

CDATASectionNode

public static final int CDATASectionNode
See Also:
Constant Field Values

EntityReferenceNode

public static final int EntityReferenceNode
See Also:
Constant Field Values

EntityNode

public static final int EntityNode
See Also:
Constant Field Values

ProcessingInstructionNode

public static final int ProcessingInstructionNode
See Also:
Constant Field Values

CommentNode

public static final int CommentNode
See Also:
Constant Field Values

DocumentNode

public static final int DocumentNode
See Also:
Constant Field Values

DocumentTypeNode

public static final int DocumentTypeNode
See Also:
Constant Field Values

DocumentFragmentNode

public static final int DocumentFragmentNode
See Also:
Constant Field Values

NotationNode

public static final int NotationNode
See Also:
Constant Field Values

BaseNode

public static final int BaseNode
See Also:
Constant Field Values

CharacterDataNode

public static final int CharacterDataNode
See Also:
Constant Field Values
Constructor Detail

QDomNode

protected QDomNode(java.lang.Class dummy)

QDomNode

public QDomNode()

QDomNode

public QDomNode(QDomNode arg1)
Method Detail

op_equals

public boolean op_equals(QDomNode arg1)

op_not_equals

public boolean op_not_equals(QDomNode arg1)

insertBefore

public QDomNode insertBefore(QDomNode newChild,
                             QDomNode refChild)

insertAfter

public QDomNode insertAfter(QDomNode newChild,
                            QDomNode refChild)

replaceChild

public QDomNode replaceChild(QDomNode newChild,
                             QDomNode oldChild)

removeChild

public QDomNode removeChild(QDomNode oldChild)

appendChild

public QDomNode appendChild(QDomNode newChild)

hasChildNodes

public boolean hasChildNodes()

cloneNode

public QDomNode cloneNode(boolean deep)

cloneNode

public QDomNode cloneNode()

normalize

public void normalize()

isSupported

public boolean isSupported(java.lang.String feature,
                           java.lang.String version)

nodeName

public java.lang.String nodeName()

nodeType

public int nodeType()

parentNode

public QDomNode parentNode()

childNodes

public java.util.ArrayList childNodes()

firstChild

public QDomNode firstChild()

lastChild

public QDomNode lastChild()

previousSibling

public QDomNode previousSibling()

nextSibling

public QDomNode nextSibling()

attributes

public QDomNamedNodeMap attributes()

ownerDocument

public QDomDocument ownerDocument()

namespaceURI

public java.lang.String namespaceURI()

localName

public java.lang.String localName()

hasAttributes

public boolean hasAttributes()

nodeValue

public java.lang.String nodeValue()

setNodeValue

public void setNodeValue(java.lang.String arg1)

prefix

public java.lang.String prefix()

setPrefix

public void setPrefix(java.lang.String pre)

isAttr

public boolean isAttr()

isCDATASection

public boolean isCDATASection()

isDocumentFragment

public boolean isDocumentFragment()

isDocument

public boolean isDocument()

isDocumentType

public boolean isDocumentType()

isElement

public boolean isElement()

isEntityReference

public boolean isEntityReference()

isText

public boolean isText()

isEntity

public boolean isEntity()

isNotation

public boolean isNotation()

isProcessingInstruction

public boolean isProcessingInstruction()

isCharacterData

public boolean isCharacterData()

isComment

public boolean isComment()

namedItem

public QDomNode namedItem(java.lang.String name)
Shortcut to avoid dealing with QDomArrayList all the time.


isNull

public boolean isNull()

clear

public void clear()

toAttr

public QDomAttr toAttr()

toCDATASection

public QDomCDATASection toCDATASection()

toDocumentFragment

public QDomDocumentFragment toDocumentFragment()

toDocument

public QDomDocument toDocument()

toDocumentType

public QDomDocumentType toDocumentType()

toElement

public QDomElement toElement()

toEntityReference

public QDomEntityReference toEntityReference()

toText

public QDomText toText()

toEntity

public QDomEntity toEntity()

toNotation

public QDomNotation toNotation()

toProcessingInstruction

public QDomProcessingInstruction toProcessingInstruction()

toCharacterData

public QDomCharacterData toCharacterData()

toComment

public QDomComment toComment()

save

public void save(QTextStream arg1,
                 int arg2)

finalize

protected void finalize()
                 throws java.lang.InternalError
Deletes the wrapped C++ instance

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.InternalError

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()


isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?