java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.xmlpatterns.QXmlName
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QXmlName extends QtObject implements 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
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QXmlName()
protected
QXmlName(QtObject.QPrivateConstructor p)
Constructor for internal use only.QXmlName(QXmlName other)
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 = ""
.QXmlName(QXmlNamePool namePool, String localName, String namespaceURI, String prefix)
-
Method Summary
Modifier and Type Method Description QXmlName
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static QXmlName
fromClarkName(String clarkName, QXmlNamePool namePool)
int
hashCode()
static boolean
isNCName(String candidate)
boolean
isNull()
String
localName(QXmlNamePool query)
String
namespaceUri(QXmlNamePool query)
String
prefix(QXmlNamePool query)
String
toClarkName(QXmlNamePool query)
-
Constructor Details
-
QXmlName
public QXmlName() -
QXmlName
Overloaded constructor for
QXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)
withprefix = ""
. -
QXmlName
Overloaded constructor for
QXmlName(io.qt.xmlpatterns.QXmlNamePool, java.lang.String, java.lang.String, java.lang.String)
with:
namespaceURI = ""
prefix = ""
-
QXmlName
-
QXmlName
-
QXmlName
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
localName
-
namespaceUri
-
prefix
-
toClarkName
-
fromClarkName
-
isNCName
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
clone
-