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 String
XML_NAMESPACE
The constant http://www.w3.org/XML/1998/namespace

Method Summary

Object
getCreator()
In this implementation, its a NameTable
String
getLocalPart()
get the part of the name that has no prefix
String
getNamespace()
get the URI reference that is the namespace
String
getPrefix()
get the prefix

Field Details

XML_NAMESPACE

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

Method Details

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