public class AttributeName
extends java.lang.Object
Constructor and Description |
---|
AttributeName(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Creates a new attribute name.
|
Modifier and Type | Method and Description |
---|---|
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() |
public AttributeName(java.lang.String uri, java.lang.String localName, java.lang.String qName)
uri
- the XML namespacelocalName
- the XML local nameqName
- the namepublic java.lang.String getName()
public java.lang.String getLocal()
public java.lang.String getPrefix()
public java.lang.String getNamespace()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object