- All Implemented Interfaces:
QtObjectInterface,Cloneable
Represents the name of an XML node, in an efficient, namespace-aware way. QXmlName represents the name of an XML node in a way that is both efficient and safe for comparing names. Normally, an XML node represents an XML element or attribute, but QXmlName can also represent the names of other kinds of nodes, e.g., QAbstractXmlReceiver::processingInstruction() and QAbstractXmlReceiver::namespaceBinding()
Java wrapper for Qt's class QXmlName
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQXmlName()QXmlName(QXmlNamePool namePool, String localName) Overloaded constructor for}invalid @link
{@link #(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)QXmlName(QXmlNamePool namePool, String localName, String namespaceURI) Overloaded constructor for} withinvalid @link
{@link #(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)prefix = (String)null.QXmlName(QXmlNamePool namePool, String localName, String namespaceURI, String prefix) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclone()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.static QXmlNamefromClarkName(String clarkName, QXmlNamePool namePool) inthashCode()static booleanfinal booleanisNull()final StringlocalName(QXmlNamePool query) final StringnamespaceUri(QXmlNamePool query) final Stringprefix(QXmlNamePool query) final StringtoClarkName(QXmlNamePool query) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QXmlName
public QXmlName() -
QXmlName
Overloaded constructor for
} withinvalid @link
{@link #(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)prefix = (String)null. -
QXmlName
Overloaded constructor for
}invalid @link
{@link #(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)with:
namespaceURI = (String)nullprefix = (String)null
-
QXmlName
-
QXmlName
-
QXmlName
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
isNull
-
localName
-
namespaceUri
-
assign
-
prefix
-
toClarkName
-
fromClarkName
-
isNCName
-
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. -
hashCode
-
clone
-