Class PrefixedQName

  • All Implemented Interfaces:
    Name

    public class PrefixedQName
    extends Object
    implements Name
    Class Prefixed QName

    Took this implementation from Axis 1.2 code

    • Constructor Detail

      • 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 Detail

      • getLocalName

        public String getLocalName()
        Gets the local name part of the XML name that this Name object represents.
        Specified by:
        getLocalName in interface 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 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 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 Name
        Returns:
        Returns the prefix as a string.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object