com.jclark.xsl.om

Interface Name

public interface Name

A Name is a two part object, consisting of a namespace (String) and a local part (String with no colon) Names are the same if they have the same namespace, local part and creator. This implementation keeps track of the prefix a namespace was bound to when the name was created, so we may have more than one name with identical namespace, local part and creater, but with different prefixes, yet "equals()" holds true for all.
Field Summary
static StringXML_NAMESPACE
The constant http://www.w3.org/XML/1998/namespace
Method Summary
ObjectgetCreator()
In this implementation, its a NameTable
StringgetLocalPart()
get the part of the name that has no prefix
StringgetNamespace()
get the URI reference that is the namespace
StringgetPrefix()
get the prefix

Field Detail

XML_NAMESPACE

public static String XML_NAMESPACE
The constant http://www.w3.org/XML/1998/namespace

Method Detail

getCreator

public Object getCreator()
In this implementation, its a NameTable

getLocalPart

public String getLocalPart()
get the part of the name that has no prefix

getNamespace

public String getNamespace()
get the URI reference that is the namespace

getPrefix

public String getPrefix()
get the prefix