Uses of Class
javax.xml.namespace.QName
-
Packages that use 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 QNameDatatypeConstants. DATEFully qualified name for W3C XML Schema 1.0 datatypedate.static QNameDatatypeConstants. DATETIMEFully qualified name for W3C XML Schema 1.0 datatypedateTime.static QNameDatatypeConstants. DURATIONFully qualified name for W3C XML Schema datatypeduration.static QNameDatatypeConstants. DURATION_DAYTIMEFully qualified name for XQuery 1.0 and XPath 2.0 datatypedayTimeDuration.static QNameDatatypeConstants. DURATION_YEARMONTHFully qualified name for XQuery 1.0 and XPath 2.0 datatypeyearMonthDuration.static QNameDatatypeConstants. GDAYFully qualified name for W3C XML Schema 1.0 datatypegDay.static QNameDatatypeConstants. GMONTHFully qualified name for W3C XML Schema 1.0 datatypegMonth.static QNameDatatypeConstants. GMONTHDAYFully qualified name for W3C XML Schema 1.0 datatypegMonthDay.static QNameDatatypeConstants. GYEARFully qualified name for W3C XML Schema 1.0 datatypegYear.static QNameDatatypeConstants. GYEARMONTHFully qualified name for W3C XML Schema 1.0 datatypegYearMonth.static QNameDatatypeConstants. TIMEFully qualified name for W3C XML Schema 1.0 datatypetime.Methods in javax.xml.datatype that return QName Modifier and Type Method Description QNameDuration. getXMLSchemaType()Return the name of the XML Schema date/time type that this instance maps to.abstract QNameXMLGregorianCalendar. 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 QNameQName. valueOf(String qNameAsString)QNamederived from parsing the formattedString. -
Uses of QName in javax.xml.stream
Methods in javax.xml.stream that return QName Modifier and Type Method Description QNameXMLStreamReader. getAttributeName(int index)Returns the qname of the attribute at the provided indexQNameXMLStreamReader. 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 AttributeXMLEventFactory. createAttribute(QName name, String value)Create a new Attributeabstract EndElementXMLEventFactory. createEndElement(QName name, Iterator<? extends Namespace> namespaces)Create a new EndElementabstract StartElementXMLEventFactory. 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 QNameAttribute. getName()Returns the QName for this attributeQNameEndElement. getName()Get the name of this eventQNameStartElement. getName()Get the name of this eventQNameXMLEvent. 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 AttributeStartElement. 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 Modifier and Type Field Description static QNameXPathConstants. BOOLEANThe XPath 1.0 boolean data type.static QNameXPathConstants. NODEThe XPath 1.0 NodeSet data type.static QNameXPathConstants. NODESETThe XPath 1.0 NodeSet data type.static QNameXPathConstants. NUMBERThe XPath 1.0 number data type.static QNameXPathConstants. STRINGThe XPath 1.0 string data type.Methods in javax.xml.xpath that return QName Modifier and Type Method Description static QNameXPathEvaluationResult.XPathResultType. getQNameType(Class<?> clsType)Returns the QName type as specified inXPathConstantsthat corresponds to the specified class type.Methods in javax.xml.xpath with parameters of type QName Modifier and Type Method Description ObjectXPath. evaluate(String expression, Object item, QName returnType)Evaluate anXPathexpression in the specified context and return the result as the specified type.ObjectXPath. evaluate(String expression, InputSource source, QName returnType)Evaluate an XPath expression in the context of the specifiedInputSourceand return the result as the specified type.ObjectXPathExpression. evaluate(Object item, QName returnType)Evaluate the compiled XPath expression in the specified context and return the result as the specified type.ObjectXPathExpression. evaluate(InputSource source, QName returnType)Evaluate the compiled XPath expression in the context of the specifiedInputSourceand return the result as the specified type.XPathFunctionXPathFunctionResolver. resolveFunction(QName functionName, int arity)Find a function in the set of available functions.ObjectXPathVariableResolver. resolveVariable(QName variableName)Find a variable in the set of available variables.
-