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 java.lang.String XML_NAMESPACE
          The constant http://www.w3.org/XML/1998/namespace
 
Method Summary
 java.lang.Object getCreator()
          In this implementation, its a NameTable
 java.lang.String getLocalPart()
          get the part of the name that has no prefix
 java.lang.String getNamespace()
          get the URI reference that is the namespace
 java.lang.String getPrefix()
          get the prefix
 

Field Detail

XML_NAMESPACE

static final java.lang.String XML_NAMESPACE
The constant http://www.w3.org/XML/1998/namespace

See Also:
Constant Field Values
Method Detail

getNamespace

java.lang.String getNamespace()
get the URI reference that is the namespace


getLocalPart

java.lang.String getLocalPart()
get the part of the name that has no prefix


getPrefix

java.lang.String getPrefix()
get the prefix


getCreator

java.lang.Object getCreator()
In this implementation, its a NameTable