- 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 class QXmlName
-
Constructor Summary
ConstructorsConstructorDescriptionQXmlName()QXmlName(QXmlNamePool namePool, String localName) Overloaded constructor forQXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)QXmlName(QXmlNamePool namePool, String localName, String namespaceURI) Overloaded constructor forQXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)withprefix = (String)null.QXmlName(QXmlNamePool namePool, String localName, String namespaceURI, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclone()Creates and returns a copy of this object.final booleanbooleanstatic QXmlNamefromClarkName(String clarkName, QXmlNamePool namePool) inthashCode()Returns the objects's hash code computed byqHash(QXmlName).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
-
QXmlName
-
QXmlName
Overloaded constructor for
QXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)withprefix = (String)null. -
QXmlName
Overloaded constructor for
QXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)with:
namespaceURI = (String)nullprefix = (String)null
-
-
Method Details
-
isNull
-
localName
-
namespaceUri
-
assign
-
equals
-
prefix
-
toClarkName
-
fromClarkName
-
isNCName
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QXmlName). -
clone
Creates and returns a copy of this object.
-