Uses of Class
javax.xml.namespace.QName
Packages that use QName
包
描述
Defines XML/Java Type Mappings.
Defines XML Namespace processing.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines event interfaces for the Streaming API for XML (StAX).
Provides utility classes for the Streaming API for XML (StAX).
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修饰符和类Field描述static final QName
DatatypeConstants.DATE
Fully qualified name for W3C XML Schema 1.0 datatypedate
.static final QName
DatatypeConstants.DATETIME
Fully qualified name for W3C XML Schema 1.0 datatypedateTime
.static final QName
DatatypeConstants.DURATION
Fully qualified name for W3C XML Schema datatypeduration
.static final QName
DatatypeConstants.DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration
.static final QName
DatatypeConstants.DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration
.static final QName
DatatypeConstants.GDAY
Fully qualified name for W3C XML Schema 1.0 datatypegDay
.static final QName
DatatypeConstants.GMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegMonth
.static final QName
DatatypeConstants.GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatypegMonthDay
.static final QName
DatatypeConstants.GYEAR
Fully qualified name for W3C XML Schema 1.0 datatypegYear
.static final QName
DatatypeConstants.GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatypegYearMonth
.static final QName
DatatypeConstants.TIME
Fully qualified name for W3C XML Schema 1.0 datatypetime
.Methods in javax.xml.datatype that return 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 -
Uses of QName in javax.xml.stream
Methods in javax.xml.stream that return QName修饰符和类方法描述XMLStreamReader.getAttributeName
(int index) Returns the qname of the attribute at the provided indexXMLStreamReader.getName()
Returns a QName for the current START_ELEMENT or END_ELEMENT eventMethods in javax.xml.stream with parameters of type QName修饰符和类方法描述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修饰符和类方法描述Attribute.getName()
Returns the QName for this attribute.EndElement.getName()
Get the name of this eventStartElement.getName()
Get the name of this eventXMLEvent.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修饰符和类方法描述StartElement.getAttributeByName
(QName name) Returns the attribute referred to by the qname. -
Uses of QName in javax.xml.stream.util
Methods in javax.xml.stream.util that return QName -
Uses of QName in javax.xml.xpath
Fields in javax.xml.xpath declared as QName修饰符和类Field描述static final QName
XPathConstants.BOOLEAN
The XPath 1.0 boolean data type.static final QName
XPathConstants.NODE
The XPath 1.0 NodeSet data type.static final QName
XPathConstants.NODESET
The XPath 1.0 NodeSet data type.static final QName
XPathConstants.NUMBER
The XPath 1.0 number data type.static final 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 inXPathConstants
that corresponds to the specified class type.Methods in javax.xml.xpath with parameters of type QName修饰符和类方法描述Evaluate anXPath
expression in the specified context and return the result as the specified type.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.Evaluate the compiled XPath expression in the specified context and return the result as the specified type.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.XPathFunctionResolver.resolveFunction
(QName functionName, int arity) Find a function in the set of available functions.XPathVariableResolver.resolveVariable
(QName variableName) Find a variable in the set of available variables.