com.jclark.xsl.om
public interface NamespacePrefixMap
NameSpacePrefixMap
which represents
all the in-scope namespace bindings for that Node
Method Summary | |
---|---|
NamespacePrefixMap | bind(String prefix, String namespace)
record the association of a prefix to a namespace |
NamespacePrefixMap | bindDefault(String namespace)
identify the given namespace as the default namespace |
Name | expandAttributeName(String qName, Node node)
returns the two-part Name for the given Attribute's qName
non-colonized names are returned as belonging to no namespace
|
Name | expandElementTypeName(String qName, Node node)
returns the two-part Name for the given qName
non-colonized names are identified in the default namespace, if there
is one, else no namespace
|
String | getDefaultNamespace() |
String | getNamespace(int i) |
String | getNamespace(String prefix) |
NameTable | getNameTable()
A NamespacePrefixMap is associated with a single NameTable |
String | getPrefix(int i) |
String | getPrefix(String namespace) |
int | getSize()
The number of bound prefixes |
NamespacePrefixMap | unbind(String prefix)
removes the association of a prefix with a namespace |
NamespacePrefixMap | unbindDefault()
remove the default namespace |
Parameters: node -- provided for particularizing any Exception with Location
Throws: XSLException -- if there's no binding for the prefix
Parameters: node -- provided for particularizing any Exception with Location
Throws: XSLException -- if there's no binding for the prefix
Returns: the default namespace (which needs no prefix)
Returns: the i'th namespace
Returns: the namespace bound to the given prefix (or null)
Returns: the i'th prefix
Returns: the (first??) prefix bound to the given namespace (or null)
Returns: the number of bindings in this map