org.apache.axis2.saaj
Class PrefixedQName

java.lang.Object
  extended by org.apache.axis2.saaj.PrefixedQName
All Implemented Interfaces:
Name

public class PrefixedQName
extends java.lang.Object
implements Name

Class Prefixed QName

Took this implementation from Axis 1.2 code


Constructor Summary
PrefixedQName(QName qname)
          Constructor PrefixedQName
PrefixedQName(java.lang.String uri, java.lang.String localName, java.lang.String prefix)
          Constructor PrefixedQName.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLocalName()
          Gets the local name part of the XML name that this Name object represents.
 java.lang.String getPrefix()
          Returns the prefix associated with the namespace for the XML name that this Name object represents.
 java.lang.String getQualifiedName()
          Gets the namespace-qualified name of the XML name that this Name object represents.
 java.lang.String getURI()
          Returns the URI of the namespace for the XML name that this Name object represents.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrefixedQName

public PrefixedQName(java.lang.String uri,
                     java.lang.String localName,
                     java.lang.String prefix)
Constructor PrefixedQName.

Parameters:
uri -
localName -
prefix -

PrefixedQName

public PrefixedQName(QName qname)
Constructor PrefixedQName

Parameters:
qname -
Method Detail

getLocalName

public java.lang.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 java.lang.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 java.lang.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 java.lang.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.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 Apache Web Services Project. All Rights Reserved.