This method of the Name class contains the following signatures:
create(String s) creates an unqualified Name for an XML Attribute using the given string.
create(char val[], int offset, int len) creates an unqualified Name for an XML Attribute using the given array, offset, and length.
create(String name, String ns) creates a Name object for the given name and namespace.
create(String name, Atom nameSpace) creates a Name object for the given name and namespace where the name and Namespace are already Atoms.
Creates an unqualified Name object for an XML Attribute using the given string.
public static Name create(String s);
Returns a Name object.
s | The String object to create the Name with. |
Creates an unqualified Name object for an XML Attribute using the given array, offset, and length.
public static Name create(char val[], int offset, int len);
Returns a Name object.
val | A character array. |
offset | The index of the first character of the array. |
len | The array length. |
Creates a Name object for the given name and namespace. The strings are case-sensitive.
public static Name create(String name, String ns);
Returns a Name object.
name | The string representing the Name object to be added to the hash table. |
ns | The namespace that defines the context in which the name was defined. |
Creates a Name object for the given name and namespace where the name and Namespace are already Atoms. The strings are case-sensitive.
public static Name create(String name, Atom nameSpace);
Returns a Name object.
name | The string representing the Name object to be added to the hash table. |
namespace | The namespace hash code. |