Java™ Platform
Standard Ed. 7
javax.xml.soap

Interface Name

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      String getLocalName()
      Gets the local name part of the XML name that this Name object represents.
      String getPrefix()
      Returns the prefix that was specified when this Name object was initialized.
      String getQualifiedName()
      Gets the namespace-qualified name of the XML name that this Name object represents.
      String getURI()
      Returns the URI of the namespace for the XML name that this Name object represents.
    • Method Detail

      • getLocalName

        String getLocalName()
        Gets the local name part of the XML name that this Name object represents.
        Returns:
        a string giving the local name
      • getQualifiedName

        String getQualifiedName()
        Gets the namespace-qualified name of the XML name that this Name object represents.
        Returns:
        the namespace-qualified name as a string
      • getPrefix

        String getPrefix()
        Returns the prefix that was specified when this Name object was initialized. This prefix is associated with the namespace for the XML name that this Name object represents.
        Returns:
        the prefix as a string
      • getURI

        String getURI()
        Returns the URI of the namespace for the XML name that this Name object represents.
        Returns:
        the URI as a string
Java™ Platform
Standard Ed. 7

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.