- 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
- Since:
- This class was introduced in Qt 4.4.
-
Constructor Summary
ConstructorDescriptionQXmlName()
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 void
clone()
Creates and returns a copy of this object.final boolean
boolean
static QXmlName
fromClarkName
(String clarkName, QXmlNamePool namePool) int
hashCode()
Returns the objects's hash code computed byqHash(QXmlName)
.static boolean
final boolean
isNull()
final String
localName
(QXmlNamePool query) final String
namespaceUri
(QXmlNamePool query) final String
prefix
(QXmlNamePool query) final String
toClarkName
(QXmlNamePool query) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QXmlName
public QXmlName() -
QXmlName
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.9.
-
QXmlName
- Parameters:
namePool
-localName
-namespaceURI
-prefix
-
-
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)null
prefix = (String)null
-
-
Method Details
-
isNull
- Returns:
-
localName
- Parameters:
query
-- Returns:
-
namespaceUri
- Parameters:
query
-- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
prefix
- Parameters:
query
-- Returns:
-
toClarkName
- Parameters:
query
-- Returns:
-
fromClarkName
- Parameters:
clarkName
-namePool
-- Returns:
- Since:
- This function was introduced in Qt 4.5.
-
isNCName
- Parameters:
candidate
-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QXmlName)
. -
clone
Creates and returns a copy of this object.
-