Uses of Class
javax.xml.namespace.QName
Package | Description |
---|---|
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 Modifier and Type Field Description static QName
DatatypeConstants. DATE
Fully qualified name for W3C XML Schema 1.0 datatypedate
.static QName
DatatypeConstants. DATETIME
Fully qualified name for W3C XML Schema 1.0 datatypedateTime
.static QName
DatatypeConstants. DURATION
Fully qualified name for W3C XML Schema datatypeduration
.static QName
DatatypeConstants. DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration
.static QName
DatatypeConstants. DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration
.static QName
DatatypeConstants. GDAY
Fully qualified name for W3C XML Schema 1.0 datatypegDay
.static QName
DatatypeConstants. GMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegMonth
.static QName
DatatypeConstants. GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatypegMonthDay
.static QName
DatatypeConstants. GYEAR
Fully qualified name for W3C XML Schema 1.0 datatypegYear
.static QName
DatatypeConstants. GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegYearMonth
.static QName
DatatypeConstants. TIME
Fully qualified name for W3C XML Schema 1.0 datatypetime
.Methods in javax.xml.datatype that return QName Modifier and Type Method Description 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 Modifier and Type Method Description static QName
QName. valueOf(String qNameAsString)
QName
derived from parsing the formattedString
. -
Uses of QName in javax.xml.stream
Methods in javax.xml.stream that return QName Modifier and Type Method Description QName
XMLStreamReader. getAttributeName(int index)
Returns the qname of the attribute at the provided indexQName
XMLStreamReader. getName()
Returns a QName for the current START_ELEMENT or END_ELEMENT eventMethods in javax.xml.stream with parameters of type QName Modifier and Type Method Description abstract Attribute
XMLEventFactory. createAttribute(QName name, String value)
Create a new Attributeabstract EndElement
XMLEventFactory. createEndElement(QName name, Iterator<? extends Namespace> namespaces)
Create a new EndElementabstract 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 Modifier and Type Method Description QName
Attribute. getName()
Returns the QName for this attributeQName
EndElement. getName()
Get the name of this eventQName
StartElement. getName()
Get the name of this eventQName
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 Modifier and Type Method Description Attribute
StartElement. getAttributeByName(QName name)
Returns the attribute referred to by the qname. -
Uses of QName in javax.xml.xpath
Fields in javax.xml.xpath declared as QName Modifier and Type Field Description 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 Modifier and Type Method Description static QName
XPathEvaluationResult.XPathResultType. getQNameType(Class<?> clsType)
Returns the QName type as specified inXPathConstants
that corresponds to the specified class type.Methods in javax.xml.xpath with parameters of type QName Modifier and Type Method Description Object
XPath. evaluate(String expression, Object item, QName returnType)
Evaluate anXPath
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 specifiedInputSource
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 specifiedInputSource
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.