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.stream.util Provides utility classes 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 QNameJAXBElement. namexml element tag nameMethods in javax.xml.bind that return QName Modifier and Type Method Description abstract QNameJAXBIntrospector. getElementName(Object jaxbElement)Get xml element qname forjaxbElement.QNameJAXBElement. getName()Returns the xml element tag name.static QNameDatatypeConverter. parseQName(String lexicalXSDQName, NamespaceContext nsc)Converts the string argument into a byte value.QNameDatatypeConverterInterface. 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 StringDatatypeConverter. printQName(QName val, NamespaceContext nsc)Converts a QName instance into a string.StringDatatypeConverterInterface. 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 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.soap
Fields in javax.xml.soap declared as QName Modifier and Type Field Description static QNameSOAPConstants. SOAP_DATAENCODINGUNKNOWN_FAULTSOAP 1.2 DataEncodingUnknown Faultstatic QNameSOAPConstants. SOAP_MUSTUNDERSTAND_FAULTSOAP 1.2 MustUnderstand Faultstatic QNameSOAPConstants. SOAP_RECEIVER_FAULTSOAP 1.2 Receiver Faultstatic QNameSOAPConstants. SOAP_SENDER_FAULTSOAP 1.2 Sender Faultstatic QNameSOAPConstants. SOAP_VERSIONMISMATCH_FAULTSOAP 1.2 VersionMismatch FaultMethods in javax.xml.soap that return QName Modifier and Type Method Description QNameSOAPElement. createQName(String localName, String prefix)Creates aQNamewhose namespace URI is the one associated with the parameter,prefix, in the context of thisSOAPElement.QNameSOAPElement. getElementQName()Returns the qname of thisSOAPElementobject.QNameSOAPFault. getFaultCodeAsQName()Gets the fault code for thisSOAPFaultobject as aQNameobject.Methods in javax.xml.soap that return types with arguments of type QName Modifier and Type Method Description Iterator<QName>SOAPElement. getAllAttributesAsQNames()Returns anIteratorover all of the attributes in thisSOAPElementasQNameobjects.Iterator<QName>SOAPFault. getFaultSubcodes()Gets the Subcodes for thisSOAPFaultas an iterator overQNames.Methods in javax.xml.soap with parameters of type QName Modifier and Type Method Description SOAPElementSOAPElement. addAttribute(QName qname, String value)Adds an attribute with the specified name and value to thisSOAPElementobject.SOAPBodyElementSOAPBody. addBodyElement(QName qname)Creates a newSOAPBodyElementobject with the specified QName and adds it to thisSOAPBodyobject.SOAPElementSOAPElement. addChildElement(QName qname)Creates a newSOAPElementobject initialized with the givenQNameobject and adds the new element to thisSOAPElementobject.DetailEntryDetail. addDetailEntry(QName qname)Creates a newDetailEntryobject with the given QName and adds it to thisDetailobject.SOAPFaultSOAPBody. addFault(QName faultCode, String faultString)Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.SOAPFaultSOAPBody. addFault(QName faultCode, String faultString, Locale locale)Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.SOAPHeaderElementSOAPHeader. addHeaderElement(QName qname)Creates a newSOAPHeaderElementobject initialized with the specified qname and adds it to thisSOAPHeaderobject.SOAPHeaderElementSOAPHeader. addNotUnderstoodHeaderElement(QName name)Creates a new NotUnderstoodSOAPHeaderElementobject initialized with the specified name and adds it to thisSOAPHeaderobject.voidSOAPFault. appendFaultSubcode(QName subcode)Adds a Subcode to the end of the sequence of Subcodes contained by thisSOAPFault.SOAPElementSOAPFactory. createElement(QName qname)Creates aSOAPElementobject initialized with the givenQNameobject.abstract SOAPFaultSOAPFactory. createFault(String reasonText, QName faultCode)Creates a newSOAPFaultobject initialized with the givenreasonTextandfaultCodeStringSOAPElement. getAttributeValue(QName qname)Returns the value of the attribute with the specified qname.Iterator<Node>SOAPElement. getChildElements(QName qname)Returns anIteratorover all the immediate childNodes of this element with the specified qname.booleanSOAPElement. removeAttribute(QName qname)Removes the attribute with the specified qname.SOAPElementSOAPElement. setElementQName(QName newName)Changes the name of thisElementtonewNameif possible.voidSOAPFault. setFaultCode(QName faultCodeQName)Sets thisSOAPFaultobject 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 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.stream.util
Methods in javax.xml.stream.util that return QName Modifier and Type Method Description QNameStreamReaderDelegate. getAttributeName(int index)QNameStreamReaderDelegate. getName() -
Uses of QName in javax.xml.ws
Methods in javax.xml.ws that return QName Modifier and Type Method Description QNameService. 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 anIteratorfor the list ofQNames of service endpoints grouped by this serviceMethods in javax.xml.ws with parameters of type QName Modifier and Type Method Description voidService. addPort(QName portName, String bindingId, String endpointAddress)Creates a new port for the service.static ServiceService. create(URL wsdlDocumentLocation, QName serviceName)Creates aServiceinstance.static ServiceService. create(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)Creates aServiceinstance.static ServiceService. create(QName serviceName)Creates aServiceinstance.static ServiceService. create(QName serviceName, WebServiceFeature... features)Creates aServiceinstance.<T> Dispatch<T>Service. createDispatch(QName portName, Class<T> type, Service.Mode mode)Creates aDispatchinstance 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 aDispatchinstance for use with objects of the client's choosing.Dispatch<Object>Service. createDispatch(QName portName, JAXBContext context, Service.Mode mode)Creates aDispatchinstance for use with JAXB generated objects.Dispatch<Object>Service. createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)Creates aDispatchinstance for use with JAXB generated objects.<T> TService. getPort(QName portName, Class<T> serviceEndpointInterface)ThegetPortmethod returns a proxy.<T> TService. getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)ThegetPortmethod 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 QNamePortInfo. getPortName()Gets the qualified name of the WSDL port being accessed.QNamePortInfo. 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 QNameServiceDelegate. 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 anIteratorfor the list ofQNames of service endpoints grouped by this serviceMethods in javax.xml.ws.spi with parameters of type QName Modifier and Type Method Description abstract voidServiceDelegate. 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 aDispatchinstance 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 aDispatchinstance for use with objects of the user's choosing.abstract Dispatch<Object>ServiceDelegate. createDispatch(QName portName, JAXBContext context, Service.Mode mode)Creates aDispatchinstance for use with JAXB generated objects.abstract Dispatch<Object>ServiceDelegate. createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)Creates aDispatchinstance for use with JAXB generated objects.abstract ServiceDelegateProvider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass)Creates a service delegate object.ServiceDelegateProvider. createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature... features)Creates a service delegate object.abstract W3CEndpointReferenceProvider. createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters)Factory method to create aW3CEndpointReference.W3CEndpointReferenceProvider. 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> TServiceDelegate. getPort(QName portName, Class<T> serviceEndpointInterface)ThegetPortmethod returns a proxy.abstract <T> TServiceDelegate. getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)ThegetPortmethod returns a proxy.Method parameters in javax.xml.ws.spi with type arguments of type QName Modifier and Type Method Description W3CEndpointReferenceProvider. 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 W3CEndpointReferenceBuilderW3CEndpointReferenceBuilder. attribute(QName name, String value)Adds an extension attribute to theW3CEndpointReferenceinstance'swsa:EndpointReferenceelement.W3CEndpointReferenceBuilderW3CEndpointReferenceBuilder. endpointName(QName endpointName)Sets theendpointNameaswsam:ServiceName/@EndpointNamein thewsa:Metadataelement.W3CEndpointReferenceBuilderW3CEndpointReferenceBuilder. interfaceName(QName interfaceName)Sets theinterfaceNameas thewsam:InterfaceNameelement in thewsa:Metadataelement.W3CEndpointReferenceBuilderW3CEndpointReferenceBuilder. serviceName(QName serviceName)Sets theserviceNameas thewsam:ServiceNameelement in thewsa:Metadataelement. -
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.
-