## Uses of Class
javax.xml.namespace.QName

Packages that use QName
javax.xml.datatype: Defines XML/Java Type Mappings.
javax.xml.namespace: Defines XML Namespace processing.
javax.xml.stream: Defines interfaces and classes for the Streaming API for XML (StAX).
javax.xml.stream.events: Defines event interfaces for the Streaming API for XML (StAX).
javax.xml.xpath: Provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.

### Uses of QName in javax.xml.datatype

Fields in javax.xml.datatype declared as QName
`static QName` DatatypeConstants.`DATE` Fully qualified name for W3C XML Schema 1.0 datatype `date`.
`static QName` DatatypeConstants.`DATETIME` Fully qualified name for W3C XML Schema 1.0 datatype `dateTime`.
`static QName` DatatypeConstants.`DURATION` Fully qualified name for W3C XML Schema datatype `duration`.
`static QName` DatatypeConstants.`DURATION_DAYTIME` Fully qualified name for XQuery 1.0 and XPath 2.0 datatype `dayTimeDuration`.
`static QName` DatatypeConstants.`DURATION_YEARMONTH` Fully qualified name for XQuery 1.0 and XPath 2.0 datatype `yearMonthDuration`.
`static QName` DatatypeConstants.`GDAY` Fully qualified name for W3C XML Schema 1.0 datatype `gDay`.
`static QName` DatatypeConstants.`GMONTH` Fully qualified name for W3C XML Schema 1.0 datatype `gMonth`.
`static QName` DatatypeConstants.`GMONTHDAY` Fully qualified name for W3C XML Schema 1.0 datatype `gMonthDay`.
`static QName` DatatypeConstants.`GYEAR` Fully qualified name for W3C XML Schema 1.0 datatype `gYear`.
`static QName` DatatypeConstants.`GYEARMONTH` Fully qualified name for W3C XML Schema 1.0 datatype `gYearMonth`.
`static QName` DatatypeConstants.`TIME` Fully qualified name for W3C XML Schema 1.0 datatype `time`.

Methods in javax.xml.datatype that return QName
`QName` Duration.`getXMLSchemaType()` Return the name of the XML Schema date/time type that this instance maps to.
`abstract QName` XMLGregorianCalendar.`getXMLSchemaType()` Return the name of the XML Schema date/time type that this instance maps to.

### Uses of QName in javax.xml.namespace

Methods in javax.xml.namespace that return QName
`static QName` QName.`valueOf​(String qNameAsString)` `QName` derived from parsing the formatted `String`.

### Uses of QName in javax.xml.stream

Methods in javax.xml.stream that return QName
`QName` XMLStreamReader.`getAttributeName​(int index)` Returns the qname of the attribute at the provided index
`QName` XMLStreamReader.`getName()` Returns a QName for the current START_ELEMENT or END_ELEMENT event

Methods in javax.xml.stream with parameters of type QName
`abstract Attribute` XMLEventFactory.`createAttribute​(QName name, String value)` Create a new Attribute
`abstract EndElement` XMLEventFactory.`createEndElement​(QName name, Iterator<? extends Namespace> namespaces)` Create a new EndElement
`abstract StartElement` XMLEventFactory.`createStartElement​(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces)` Create a new StartElement.

### Uses of QName in javax.xml.stream.events

Methods in javax.xml.stream.events that return QName
`QName` Attribute.`getName()` Returns the QName for this attribute
`QName` EndElement.`getName()` Get the name of this event
`QName` StartElement.`getName()` Get the name of this event
`QName` XMLEvent.`getSchemaType()` This method is provided for implementations to provide optional type information about the associated event.

Methods in javax.xml.stream.events with parameters of type QName
`Attribute` StartElement.`getAttributeByName​(QName name)` Returns the attribute referred to by this name

### Uses of QName in javax.xml.xpath

Fields in javax.xml.xpath declared as QName
`static QName` XPathConstants.`BOOLEAN` The XPath 1.0 boolean data type.
`static QName` XPathConstants.`NODE` The XPath 1.0 NodeSet data type.
`static QName` XPathConstants.`NODESET` The XPath 1.0 NodeSet data type.
`static QName` XPathConstants.`NUMBER` The XPath 1.0 number data type.
`static QName` XPathConstants.`STRING` The XPath 1.0 string data type.

Methods in javax.xml.xpath that return QName
`static QName` XPathEvaluationResult.XPathResultType.`getQNameType​(Class<?> clsType)` Returns the QName type as specified in `XPathConstants` that corresponds to the specified class type.

Methods in javax.xml.xpath with parameters of type QName
`Object` XPath.`evaluate​(String expression, Object item, QName returnType)` Evaluate an `XPath` expression in the specified context and return the result as the specified type.
`Object` XPath.`evaluate​(String expression, InputSource source, QName returnType)` Evaluate an XPath expression in the context of the specified `InputSource` and return the result as the specified type.
`Object` XPathExpression.`evaluate​(Object item, QName returnType)` Evaluate the compiled XPath expression in the specified context and return the result as the specified type.
`Object` XPathExpression.`evaluate​(InputSource source, QName returnType)` Evaluate the compiled XPath expression in the context of the specified `InputSource` and return the result as the specified type.
`XPathFunction` XPathFunctionResolver.`resolveFunction​(QName functionName, int arity)` Find a function in the set of available functions.
`Object` XPathVariableResolver.`resolveVariable​(QName variableName)` Find a variable in the set of available variables.