com.icl.saxon.tree
final class NamespaceImpl extends NodeImpl
Version: 3 November 1999
Constructor Summary | |
---|---|
NamespaceImpl(ElementImpl element, int nsCode, int index)
Construct a Namespace node |
Method Summary | |
---|---|
void | copy(Outputter out)
Copy this node to a given outputter |
String | generateId()
Get sequential key. |
String | getLocalName()
Get the prefix of the namespace that this node relates to |
int | getNameCode()
Get the namecode for this name. |
int | getNamespaceCode()
Get the namespace code for this prefix/uri pair. |
NodeImpl | getNextInDocument(NodeImpl anchor)
Get the next node in document order (skipping namespace nodes) |
Node | getNextSibling()
Get next sibling - not defined for namespace nodes |
String | getNodeName()
Get the name of this node, following the DOM rules (which aren't actually defined
for Namespace nodes...) |
short | getNodeType()
Return the type of node. |
NodeImpl | getPreviousInDocument()
Get the previous node in document order (skipping namespace nodes) |
Node | getPreviousSibling()
Get previous sibling - not defined for namespace nodes |
protected long | getSequenceNumber()
Get the node sequence number (in document order). |
String | getStringValue()
Return the string value of the node. |
boolean | isSameNodeInfo(NodeInfo other)
Determine whether this is the same node as another node |
void | setNamespaceCode(int nsCode)
Change the uri of the namespace that this node relates to
(used to implement xsl:namespace-alias) |
Parameters: element The element owning the namespace node nsCode The namespace code index Integer identifying this namespace node among the nodes for its parent
Returns: the namespace prefix
Returns: NodeInfo.NAMESPACE
Returns: the namespace uri
Returns: true if this Node object and the supplied Node object represent the same node in the tree.