Microsoft SDK for Java

Name Class

The Name class of the com.ms.xml.util package allows efficient sharing of duplicate names in the system by creating a global hash table of all names. Names are different from Atoms in that they can be qualified by a separate namespace string. In effect, Names are compound Atoms.

public class Name
{
  // Methods
  public static Name create(String s);
  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 boolean equals(Object that);
  public String getName();
  public Atom getNameSpace();
  public int hashCode();
  public String toString();
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.