Class Name
public class Name
{
  // Methods
  public static Name create(String s);
  public boolean equals(Object that);
  public int hashCode();
  public String toString();
}
This class represents a general-purpose Name object, and is used for efficient sharing of duplicate strings in the system. 
public static Name create(String s);
Constructs a Name object for an XML Attribute using the given string. 
| Parameter | Description | 
| s | The String object with which to create the Name. The string is case sensitive. | 
public boolean equals(Object that);
Determines whether the current Name object is equal to the one passed in the that parameter. 
Return Value: 
Returns true if the objects are equal; otherwise, returns false. 
| Parameter | Description | 
| that | The object with which to compare the Name object. | 
public int hashCode();
Retrieves the hash code for the Name. A global hash table of all Name objects that have been constructed is used to share duplicate strings.
Return Value: 
Returns the hash code for the Name. 
public String toString();
Retrieves a String representation of the class name of the Name object. 
Return Value: 
Returns the class name of the Name object.