java.lang.Object
io.qt.QtObject
io.qt.xmlpatterns.QXmlItem
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Contains either an XML node or an atomic value
Java wrapper for Qt's class QXmlItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQXmlItem()QXmlItem(QXmlNodeModelIndex node) protectedQXmlItem(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclone()Creates and returns a copy of this object.booleanUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.inthashCode()final booleanfinal booleanisNode()final booleanisNull()final Objectfinal QXmlNodeModelIndexMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QXmlItem
public QXmlItem() -
QXmlItem
-
QXmlItem
-
QXmlItem
-
QXmlItem
protected QXmlItem(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
isAtomicValue
@QtUninvokable public final boolean isAtomicValue() -
isNode
@QtUninvokable public final boolean isNode() -
isNull
@QtUninvokable public final boolean isNull() -
assign
-
toAtomicValue
-
toNodeModelIndex
-
equals
Description copied from class:io.qt.QtObjectUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
clone
Creates and returns a copy of this object.
-