com.icl.saxon.tinytree
Class TinyNamespaceImpl
- DOMLocator, Node, NodeInfo, Source, SourceLocator
(package private) final class TinyNamespaceImpl
A node in the XML parse tree representing a Namespace. Note that this is
generated only "on demand", when the namespace axis is expanded.
compareOrder , generateId , getAttributeValue , getAttributeValue , getBaseURI , getDisplayName , getDocumentRoot , getEnumeration , getFingerprint , getLineNumber , getLocalName , getNameCode , getOriginatingNode , getParent , getPrefix , getSequenceNumber , getSystemId , getURI , hasAttributes , hasChildNodes , isSameNodeInfo , outputNamespaceNodes , setLineNumber , setParentNode , setSystemId |
appendChild , appendData , cloneNode , compareDocumentPosition , compareOrder , copyStringValue , createAttribute , createAttributeNS , createCDATASection , createComment , createDocumentFragment , createElement , createElementNS , createEntityReference , createProcessingInstruction , createTextNode , deleteData , disallowUpdate , generateId , getAttribute , getAttributeNS , getAttributeNode , getAttributeNodeNS , getAttributeValue , getAttributeValue , getAttributes , getBaseURI , getChildNodes , getColumnNumber , getData , getDisplayName , getDoctype , getDocumentElement , getDocumentRoot , getElementById , getElementsByTagName , getElementsByTagNameNS , getEnumeration , getFeature , getFingerprint , getFirstChild , getImplementation , getLastChild , getLength , getLineNumber , getLocalName , getName , getNameCode , getNamespaceURI , getNextSibling , getNodeName , getNodeValue , getOriginatingNode , getOwnerDocument , getOwnerElement , getParent , getParentNode , getPrefix , getPreviousSibling , getPublicId , getSchemaTypeInfo , getSpecified , getSystemId , getTagName , getTextContent , getURI , getUserData , getValue , getWholeText , hasAttribute , hasAttributeNS , hasAttributes , hasChildNodes , importNode , insertBefore , insertData , isDefaultNamespace , isElementContentWhitespace , isEqualNode , isId , isSameNode , isSameNodeInfo , isSupported , lookupNamespaceURI , lookupPrefix , normalize , outputNamespaceNodes , removeAttribute , removeAttributeNS , removeAttributeNode , removeChild , replaceChild , replaceData , replaceWholeText , setAttributeNS , setAttributeNode , setAttributeNodeNS , setData , setIdAttribute , setIdAttributeNS , setIdAttributeNode , setNodeValue , setPrefix , setTextContent , setUserData , setValue , splitText , substringData , supports |
copy
public void copy(Outputter out)
throws TransformerException
Copy this node to a given outputter
- copy in interface NodeInfo
getDisplayName
public String getDisplayName()
Get the display name of this node. For namespaces this is the namespace prefix.
- getDisplayName in interface NodeInfo
- getDisplayName in interface TinyNodeImpl
- The display name of this node.
For a node with no name, return an empty string.
getNamespaceCode
public int getNamespaceCode()
Get the namespace code (a numeric representation of the prefix and URI)
getNodeType
public final short getNodeType()
Return the type of node.
- getNodeType in interface NodeInfo
getPrefix
public String getPrefix()
Get the prefix part of the name of this node. This is the name before the ":" if any.
- getPrefix in interface NodeInfo
- getPrefix in interface TinyNodeImpl
- the prefix part of the name. Always null.
getSequenceNumber
protected long getSequenceNumber()
Get the node sequence number (in document order). Sequence numbers are monotonic but not
consecutive. In the current implementation, parent nodes (elements and roots) have a zero
least-significant word, while namespaces, attributes, text nodes, comments, and PIs have
the top word the same as their owner and the bottom half reflecting their relative position.
- getSequenceNumber in interface TinyNodeImpl
getStringValue
public final String getStringValue()
Return the string value of the node.
- getStringValue in interface NodeInfo
getURI
public String getURI()
Get the URI part of the name of this node.
- getURI in interface NodeInfo
- getURI in interface TinyNodeImpl
- The URI of the namespace of this node. Always null.
isSameNodeInfo
public final boolean isSameNodeInfo(NodeInfo other)
Determine whether this is the same node as another node
- isSameNodeInfo in interface NodeInfo
- isSameNodeInfo in interface TinyNodeImpl
- true if this Node object and the supplied Node object represent the
same node in the tree.
setParentNode
(package private) void setParentNode(int nodeNr)
Set the parent element for this namespace node