java.lang.Object
io.qt.QtObject
io.qt.xml.QDomNode
io.qt.xml.QDomElement
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents one element in the DOM tree
Java wrapper for Qt class QDomElement
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.xml.QDomNode
QDomNode.EncodingPolicy, QDomNode.NodeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QDomElement other) final String
Overloaded function forattribute(java.lang.String, java.lang.String)
withdefValue = (String)null
.final String
final QDomAttr
attributeNode
(String name) final QDomAttr
attributeNodeNS
(String nsURI, String localName) final String
attributeNS
(String nsURI, String localName) Overloaded function forattributeNS(java.lang.String, java.lang.String, java.lang.String)
withdefValue = (String)null
.final String
attributeNS
(String nsURI, String localName, String defValue) final QDomNamedNodeMap
clone()
Creates and returns a copy of this object.final QDomNodeList
elementsByTagName
(String tagname) final QDomNodeList
elementsByTagNameNS
(String nsURI, String localName) final boolean
hasAttribute
(String name) final boolean
hasAttributeNS
(String nsURI, String localName) final void
removeAttribute
(String name) final QDomAttr
removeAttributeNode
(QDomAttr oldAttr) final void
removeAttributeNS
(String nsURI, String localName) final void
setAttribute
(String name, double value) final void
setAttribute
(String name, float value) final void
setAttribute
(String name, int value) final void
setAttribute
(String name, long value) final void
setAttribute
(String name, String value) final QDomAttr
setAttributeNode
(QDomAttr newAttr) final QDomAttr
setAttributeNodeNS
(QDomAttr newAttr) final void
setAttributeNS
(String nsURI, String qName, double value) final void
setAttributeNS
(String nsURI, String qName, int value) final void
setAttributeNS
(String nsURI, String qName, long value) final void
setAttributeNS
(String nsURI, String qName, String value) final void
setTagName
(String name) final String
tagName()
final String
text()
Methods inherited from class io.qt.xml.QDomNode
appendChild, assign, childNodes, clear, cloneNode, cloneNode, columnNumber, equals, equals, firstChild, firstChildElement, firstChildElement, firstChildElement, hasAttributes, hasChildNodes, hashCode, insertAfter, insertBefore, isAttr, isCDATASection, isCharacterData, isComment, isDocument, isDocumentFragment, isDocumentType, isElement, isEntity, isEntityReference, isNotation, isNull, isProcessingInstruction, isSupported, isText, lastChild, lastChildElement, lastChildElement, lastChildElement, lineNumber, localName, namedItem, namespaceURI, nextSibling, nextSiblingElement, nextSiblingElement, nextSiblingElement, nodeName, nodeType, nodeValue, normalize, ownerDocument, parentNode, prefix, previousSibling, previousSiblingElement, previousSiblingElement, previousSiblingElement, removeChild, replaceChild, save, save, setNodeValue, setPrefix, toAttr, toCDATASection, toCharacterData, toComment, toDocument, toDocumentFragment, toDocumentType, toElement, toEntity, toEntityReference, toNotation, toProcessingInstruction, toText, writeTo
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDomElement
public QDomElement() -
QDomElement
- Parameters:
element
-
-
-
Method Details
-
attribute
- Parameters:
name
-defValue
-- Returns:
-
attributeNS
- Parameters:
nsURI
-localName
-defValue
-- Returns:
-
attributeNode
- Parameters:
name
-- Returns:
-
attributeNodeNS
- Parameters:
nsURI
-localName
-- Returns:
-
attributes
- Returns:
-
elementsByTagName
- Parameters:
tagname
-- Returns:
-
elementsByTagNameNS
- Parameters:
nsURI
-localName
-- Returns:
-
hasAttribute
- Parameters:
name
-- Returns:
-
hasAttributeNS
- Parameters:
nsURI
-localName
-- Returns:
-
assign
- Parameters:
other
-
-
removeAttribute
- Parameters:
name
-
-
removeAttributeNS
- Parameters:
nsURI
-localName
-
-
removeAttributeNode
- Parameters:
oldAttr
-- Returns:
-
setAttribute
- Parameters:
name
-value
-
-
setAttribute
- Parameters:
name
-value
-
-
setAttribute
- Parameters:
name
-value
-
-
setAttribute
- Parameters:
name
-value
-
-
setAttribute
- Parameters:
name
-value
-
-
setAttributeNS
- Parameters:
nsURI
-qName
-value
-
-
setAttributeNS
- Parameters:
nsURI
-qName
-value
-
-
setAttributeNS
- Parameters:
nsURI
-qName
-value
-
-
setAttributeNS
- Parameters:
nsURI
-qName
-value
-
-
setAttributeNode
- Parameters:
newAttr
-- Returns:
-
setAttributeNodeNS
- Parameters:
newAttr
-- Returns:
-
setTagName
- Parameters:
name
-
-
tagName
- Returns:
-
text
- Returns:
-
clone
Creates and returns a copy of this object.
-
attribute
Overloaded function for
attribute(java.lang.String, java.lang.String)
withdefValue = (String)null
. -
attributeNS
Overloaded function for
attributeNS(java.lang.String, java.lang.String, java.lang.String)
withdefValue = (String)null
.
-