|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NamingI interface defines the bare minimum of functionality needed to work with XML names (compounds of URI, local name, and prefix).
The original version of this was written for use with Markup Object Events (MOE). This version removes Cloneable.
version 0.02 is the initial common release.
Method Summary | |
boolean |
equals(java.lang.Object _name)
The equals method only compares Namespace URI and Local Name to determine equality. |
java.lang.String |
getLocalName()
Returns the local name for the component |
java.lang.String |
getPrefix()
Returns the prefix used to represent the namespace URI reference for this component. |
java.lang.String |
getQName()
Returns the Qualified Name (QName) for the component. |
java.lang.String |
getUri()
Returns the URI reference value for the namespace. |
int |
hashCode()
Returns a key which can be used as a unique identifier for this component. |
void |
setLocalName(java.lang.String newLocalName)
Accepts a string which will serve as the local name for this component. |
void |
setPrefix(java.lang.String newPrefix)
Accepts a string which serves as the prefix for this component. |
void |
setQName(java.lang.String QName)
Sets the Qualified Name (QName) for the component. |
void |
setUri(java.lang.String newNsURI)
Accepts a URI reference value which is used as the namespace for the component. |
Method Detail |
public int hashCode()
hashCode
in class java.lang.Object
public void setUri(java.lang.String newNsURI)
public java.lang.String getUri()
public void setLocalName(java.lang.String newLocalName)
public java.lang.String getLocalName()
public void setPrefix(java.lang.String newPrefix)
public java.lang.String getPrefix()
public java.lang.String getQName()
public void setQName(java.lang.String QName)
public boolean equals(java.lang.Object _name)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |