Class PrefixedQName

java.lang.Object
org.apache.axis2.saaj.PrefixedQName
All Implemented Interfaces:
jakarta.xml.soap.Name

public class PrefixedQName extends Object implements jakarta.xml.soap.Name
Class Prefixed QName

Took this implementation from Axis 1.2 code

  • Constructor Details

    • PrefixedQName

      public PrefixedQName(String uri, String localName, String prefix)
      Constructor PrefixedQName.
      Parameters:
      uri -
      localName -
      prefix -
    • PrefixedQName

      public PrefixedQName(QName qname)
      Constructor PrefixedQName
      Parameters:
      qname -
  • Method Details

    • getLocalName

      public String getLocalName()
      Gets the local name part of the XML name that this Name object represents.
      Specified by:
      getLocalName in interface jakarta.xml.soap.Name
      Returns:
      Returns the local name.
    • getQualifiedName

      public String getQualifiedName()
      Gets the namespace-qualified name of the XML name that this Name object represents.
      Specified by:
      getQualifiedName in interface jakarta.xml.soap.Name
      Returns:
      Returns the namespace-qualified name.
    • getURI

      public String getURI()
      Returns the URI of the namespace for the XML name that this Name object represents.
      Specified by:
      getURI in interface jakarta.xml.soap.Name
      Returns:
      Returns the URI as a string.
    • getPrefix

      public String getPrefix()
      Returns the prefix associated with the namespace for the XML name that this Name object represents.
      Specified by:
      getPrefix in interface jakarta.xml.soap.Name
      Returns:
      Returns the prefix as a string.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object