|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.xml.util.Name
This is a general purpose name object to allow efficient sharing of duplicate names in the system. It does this by creating a global HashTable of all names that have been constructed. Names are different from Atoms in that they can be qualified by a separate namespace string - so in effect that are compound atoms.
Method Summary | |
static Name |
create(char[] val,
int offset,
int len)
|
static Name |
create(String name)
Create an unqualified Name. |
static Name |
create(String name,
Atom nameSpace)
Create a Name object for the given name and namespace where the name and Namespace are already Atoms. |
static Name |
create(String name,
String ns)
Create a Name object for the given name and namespace. |
boolean |
equals(Object that)
|
String |
getName()
|
Atom |
getNameSpace()
|
int |
hashCode()
return the hash code for this name object |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public String getName()
public Atom getNameSpace()
public boolean equals(Object that)
public static Name create(String name)
public static Name create(char[] val, int offset, int len)
public static Name create(String name, String ns)
public static Name create(String name, Atom nameSpace)
public String toString()
public int hashCode()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |