com.caucho.servlets.webdav
Class AttributeName

java.lang.Object
  extended by com.caucho.servlets.webdav.AttributeName

public class AttributeName
extends java.lang.Object

Represents an attribute name.


Constructor Summary
AttributeName(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          Creates a new attribute name.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLocal()
          Returns the local part of the name.
 java.lang.String getName()
          Returns the prefix:name QName.
 java.lang.String getNamespace()
          Returns the namespace.
 java.lang.String getPrefix()
          Returns the prefix of the name.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeName

public AttributeName(java.lang.String uri,
                     java.lang.String localName,
                     java.lang.String qName)
Creates a new attribute name.

Parameters:
uri - the XML namespace
localName - the XML local name
qName - the name
Method Detail

getName

public java.lang.String getName()
Returns the prefix:name QName.


getLocal

public java.lang.String getLocal()
Returns the local part of the name.


getPrefix

public java.lang.String getPrefix()
Returns the prefix of the name.


getNamespace

public java.lang.String getNamespace()
Returns the namespace.


hashCode

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

equals

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

toString

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