Interface QName


public interface QName
Represents an XML qualified name. Examples:
  1. <service-name-pattern xmlns:ns1="http://test.ibm.com">ns1:EchoService</service-name-pattern>
    • getNamespaceURI() returns "http://test.ibm.com"
    • getLocalPart() returns "EchoService"
  2. <service-name-pattern xmlns:ns1="http://test.ibm.com">ns1:EchoService*</service-name-pattern>
    • getNamespaceURI() returns "http://test.ibm.com"
    • getLocalPart() returns "EchoService*"
  3. <service-name-pattern>EchoService</service-name-pattern>
    • getNamespaceURI() returns null
    • getLocalPart() returns "EchoService"
  4. <service-name-pattern>*</service-name-pattern>
    • getNamespaceURI() returns null
    • getLocalPart() returns "*"
See Also:
  • Method Details

    • getNamespaceURI

      String getNamespaceURI()
      Returns:
      the namespace URI associated with the QName prefix, or null if this QName does not have a prefix
    • getLocalPart

      String getLocalPart()
      Returns:
      the local name