Uses of Class
javax.xml.namespace.QName
-
Packages that use QName Package Description javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.javax.xml.datatype Defines XML/Java Type Mappings.javax.xml.namespace Defines XML Namespace processing.javax.xml.soap Provides the API for creating and building SOAP messages.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.ws This package contains the core JAX-WS APIs.javax.xml.ws.handler This package defines APIs for message handlers.javax.xml.ws.handler.soap This package defines APIs for SOAP message handlers.javax.xml.ws.spi This package defines SPIs for JAX-WS.javax.xml.ws.wsaddressing This package defines APIs related to WS-Addressing.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.bind
Fields in javax.xml.bind declared as QName Modifier and Type Field Description protected QName
JAXBElement. name
xml element tag nameMethods in javax.xml.bind that return QName Modifier and Type Method Description abstract QName
JAXBIntrospector. getElementName(Object jaxbElement)
Get xml element qname forjaxbElement
.QName
JAXBElement. getName()
Returns the xml element tag name.static QName
DatatypeConverter. parseQName(String lexicalXSDQName, NamespaceContext nsc)
Converts the string argument into a byte value.QName
DatatypeConverterInterface. parseQName(String lexicalXSDQName, NamespaceContext nsc)
Converts the string argument into a QName value.Methods in javax.xml.bind with parameters of type QName Modifier and Type Method Description static String
DatatypeConverter. printQName(QName val, NamespaceContext nsc)
Converts a QName instance into a string.String
DatatypeConverterInterface. printQName(QName val, NamespaceContext nsc)
Converts a QName instance into a string.Constructors in javax.xml.bind with parameters of type QName Constructor Description JAXBElement(QName name, Class<T> declaredType, Class scope, T value)
Construct an xml element instance.JAXBElement(QName name, Class<T> declaredType, T value)
Construct an xml element instance. -
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.soap
Fields in javax.xml.soap declared as QName Modifier and Type Field Description static QName
SOAPConstants. SOAP_DATAENCODINGUNKNOWN_FAULT
SOAP 1.2 DataEncodingUnknown Faultstatic QName
SOAPConstants. SOAP_MUSTUNDERSTAND_FAULT
SOAP 1.2 MustUnderstand Faultstatic QName
SOAPConstants. SOAP_RECEIVER_FAULT
SOAP 1.2 Receiver Faultstatic QName
SOAPConstants. SOAP_SENDER_FAULT
SOAP 1.2 Sender Faultstatic QName
SOAPConstants. SOAP_VERSIONMISMATCH_FAULT
SOAP 1.2 VersionMismatch FaultMethods in javax.xml.soap that return QName Modifier and Type Method Description QName
SOAPElement. createQName(String localName, String prefix)
Creates aQName
whose namespace URI is the one associated with the parameter,prefix
, in the context of thisSOAPElement
.QName
SOAPElement. getElementQName()
Returns the qname of thisSOAPElement
object.QName
SOAPFault. getFaultCodeAsQName()
Gets the fault code for thisSOAPFault
object as aQName
object.Methods in javax.xml.soap that return types with arguments of type QName Modifier and Type Method Description Iterator<QName>
SOAPElement. getAllAttributesAsQNames()
Returns anIterator
over all of the attributes in thisSOAPElement
asQName
objects.Iterator<QName>
SOAPFault. getFaultSubcodes()
Gets the Subcodes for thisSOAPFault
as an iterator overQNames
.Methods in javax.xml.soap with parameters of type QName Modifier and Type Method Description SOAPElement
SOAPElement. addAttribute(QName qname, String value)
Adds an attribute with the specified name and value to thisSOAPElement
object.SOAPBodyElement
SOAPBody. addBodyElement(QName qname)
Creates a newSOAPBodyElement
object with the specified QName and adds it to thisSOAPBody
object.SOAPElement
SOAPElement. addChildElement(QName qname)
Creates a newSOAPElement
object initialized with the givenQName
object and adds the new element to thisSOAPElement
object.DetailEntry
Detail. addDetailEntry(QName qname)
Creates a newDetailEntry
object with the given QName and adds it to thisDetail
object.SOAPFault
SOAPBody. addFault(QName faultCode, String faultString)
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.SOAPFault
SOAPBody. addFault(QName faultCode, String faultString, Locale locale)
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.SOAPHeaderElement
SOAPHeader. addHeaderElement(QName qname)
Creates a newSOAPHeaderElement
object initialized with the specified qname and adds it to thisSOAPHeader
object.SOAPHeaderElement
SOAPHeader. addNotUnderstoodHeaderElement(QName name)
Creates a new NotUnderstoodSOAPHeaderElement
object initialized with the specified name and adds it to thisSOAPHeader
object.void
SOAPFault. appendFaultSubcode(QName subcode)
Adds a Subcode to the end of the sequence of Subcodes contained by thisSOAPFault
.SOAPElement
SOAPFactory. createElement(QName qname)
Creates aSOAPElement
object initialized with the givenQName
object.abstract SOAPFault
SOAPFactory. createFault(String reasonText, QName faultCode)
Creates a newSOAPFault
object initialized with the givenreasonText
andfaultCode
String
SOAPElement. getAttributeValue(QName qname)
Returns the value of the attribute with the specified qname.Iterator<Node>
SOAPElement. getChildElements(QName qname)
Returns anIterator
over all the immediate childNode
s of this element with the specified qname.boolean
SOAPElement. removeAttribute(QName qname)
Removes the attribute with the specified qname.SOAPElement
SOAPElement. setElementQName(QName newName)
Changes the name of thisElement
tonewName
if possible.void
SOAPFault. setFaultCode(QName faultCodeQName)
Sets thisSOAPFault
object with the given fault code. -
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 this name -
Uses of QName in javax.xml.ws
Methods in javax.xml.ws that return QName Modifier and Type Method Description QName
Service. getServiceName()
Gets the name of this service.Methods in javax.xml.ws that return types with arguments of type QName Modifier and Type Method Description Iterator<QName>
Service. getPorts()
Returns anIterator
for the list ofQName
s of service endpoints grouped by this serviceMethods in javax.xml.ws with parameters of type QName Modifier and Type Method Description void
Service. addPort(QName portName, String bindingId, String endpointAddress)
Creates a new port for the service.static Service
Service. create(URL wsdlDocumentLocation, QName serviceName)
Creates aService
instance.static Service
Service. create(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)
Creates aService
instance.static Service
Service. create(QName serviceName)
Creates aService
instance.static Service
Service. create(QName serviceName, WebServiceFeature... features)
Creates aService
instance.<T> Dispatch<T>
Service. createDispatch(QName portName, Class<T> type, Service.Mode mode)
Creates aDispatch
instance for use with objects of the client's choosing.<T> Dispatch<T>
Service. createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)
Creates aDispatch
instance for use with objects of the client's choosing.Dispatch<Object>
Service. createDispatch(QName portName, JAXBContext context, Service.Mode mode)
Creates aDispatch
instance for use with JAXB generated objects.Dispatch<Object>
Service. createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)
Creates aDispatch
instance for use with JAXB generated objects.<T> T
Service. getPort(QName portName, Class<T> serviceEndpointInterface)
ThegetPort
method returns a proxy.<T> T
Service. getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)
ThegetPort
method returns a proxy.Constructors in javax.xml.ws with parameters of type QName Constructor Description Service(URL wsdlDocumentLocation, QName serviceName)
Creates aService
.Service(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)
Creates aService
. -
Uses of QName in javax.xml.ws.handler
Methods in javax.xml.ws.handler that return QName Modifier and Type Method Description QName
PortInfo. getPortName()
Gets the qualified name of the WSDL port being accessed.QName
PortInfo. getServiceName()
Gets the qualified name of the WSDL service name containing the port being accessed. -
Uses of QName in javax.xml.ws.handler.soap
Methods in javax.xml.ws.handler.soap that return types with arguments of type QName Modifier and Type Method Description Set<QName>
SOAPHandler. getHeaders()
Gets the header blocks that can be processed by this Handler instance.Methods in javax.xml.ws.handler.soap with parameters of type QName Modifier and Type Method Description Object[]
SOAPMessageContext. getHeaders(QName header, JAXBContext context, boolean allRoles)
Gets headers that have a particular qualified name from the message in the message context. -
Uses of QName in javax.xml.ws.spi
Methods in javax.xml.ws.spi that return QName Modifier and Type Method Description abstract QName
ServiceDelegate. getServiceName()
Gets the name of this service.Methods in javax.xml.ws.spi that return types with arguments of type QName Modifier and Type Method Description abstract Iterator<QName>
ServiceDelegate. getPorts()
Returns anIterator
for the list ofQName
s of service endpoints grouped by this serviceMethods in javax.xml.ws.spi with parameters of type QName Modifier and Type Method Description abstract void
ServiceDelegate. addPort(QName portName, String bindingId, String endpointAddress)
Creates a new port for the service.abstract <T> Dispatch<T>
ServiceDelegate. createDispatch(QName portName, Class<T> type, Service.Mode mode)
Creates aDispatch
instance for use with objects of the user's choosing.abstract <T> Dispatch<T>
ServiceDelegate. createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)
Creates aDispatch
instance for use with objects of the user's choosing.abstract Dispatch<Object>
ServiceDelegate. createDispatch(QName portName, JAXBContext context, Service.Mode mode)
Creates aDispatch
instance for use with JAXB generated objects.abstract Dispatch<Object>
ServiceDelegate. createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)
Creates aDispatch
instance for use with JAXB generated objects.abstract ServiceDelegate
Provider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass)
Creates a service delegate object.ServiceDelegate
Provider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature... features)
Creates a service delegate object.abstract W3CEndpointReference
Provider. createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters)
Factory method to create aW3CEndpointReference
.W3CEndpointReference
Provider. createW3CEndpointReference(String address, QName interfaceName, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters, List<Element> elements, Map<QName,String> attributes)
Factory method to create aW3CEndpointReference
.abstract <T> T
ServiceDelegate. getPort(QName portName, Class<T> serviceEndpointInterface)
ThegetPort
method returns a proxy.abstract <T> T
ServiceDelegate. getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)
ThegetPort
method returns a proxy.Method parameters in javax.xml.ws.spi with type arguments of type QName Modifier and Type Method Description W3CEndpointReference
Provider. createW3CEndpointReference(String address, QName interfaceName, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters, List<Element> elements, Map<QName,String> attributes)
Factory method to create aW3CEndpointReference
. -
Uses of QName in javax.xml.ws.wsaddressing
Methods in javax.xml.ws.wsaddressing with parameters of type QName Modifier and Type Method Description W3CEndpointReferenceBuilder
W3CEndpointReferenceBuilder. attribute(QName name, String value)
Adds an extension attribute to theW3CEndpointReference
instance'swsa:EndpointReference
element.W3CEndpointReferenceBuilder
W3CEndpointReferenceBuilder. endpointName(QName endpointName)
Sets theendpointName
aswsam:ServiceName/@EndpointName
in thewsa:Metadata
element.W3CEndpointReferenceBuilder
W3CEndpointReferenceBuilder. interfaceName(QName interfaceName)
Sets theinterfaceName
as thewsam:InterfaceName
element in thewsa:Metadata
element.W3CEndpointReferenceBuilder
W3CEndpointReferenceBuilder. serviceName(QName serviceName)
Sets theserviceName
as thewsam:ServiceName
element in thewsa:Metadata
element. -
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.
-