final class TinyNamespaceImpl extends TinyNodeImpl
document, nodeNr, parent
NODE_LETTER
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
TinyNamespaceImpl(TinyDocumentImpl doc,
int nodeNr) |
Modifier and Type | Method and Description |
---|---|
void |
copy(Outputter out)
Copy this node to a given outputter
|
java.lang.String |
generateId()
Get unique identifier.
|
java.lang.String |
getDisplayName()
Get the display name of this node.
|
int |
getFingerprint()
Get the fingerprint
|
java.lang.String |
getLocalName()
Get the local name of this node.
|
int |
getNameCode()
Get the nameCode, for name matching
|
int |
getNamespaceCode()
Get the namespace code (a numeric representation of the prefix and URI)
|
short |
getNodeType()
Return the type of node.
|
NodeInfo |
getParent()
Get the parent element of this namespace node
|
java.lang.String |
getPrefix()
Get the prefix part of the name of this node.
|
protected long |
getSequenceNumber()
Get the node sequence number (in document order).
|
java.lang.String |
getStringValue()
Return the string value of the node.
|
java.lang.String |
getURI()
Get the URI part of the name of this node.
|
boolean |
isSameNodeInfo(NodeInfo other)
Determine whether this is the same node as another node
|
(package private) void |
setParentNode(int nodeNr)
Set the parent element for this namespace node
|
compareOrder, getAttributeValue, getAttributeValue, getBaseURI, getDocumentRoot, getEnumeration, getLineNumber, getOriginatingNode, getSystemId, hasAttributes, hasChildNodes, outputNamespaceNodes, setLineNumber, setParentNode, setSystemId
appendChild, appendData, cloneNode, compareDocumentPosition, copyStringValue, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, disallowUpdate, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildNodes, getColumnNumber, getData, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getImplementation, getLastChild, getLength, getName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getOwnerElement, getParentNode, getPreviousSibling, getPublicId, getSchemaTypeInfo, getSpecified, getTagName, getTextContent, getUserData, getValue, getWholeText, hasAttribute, hasAttributeNS, importNode, insertBefore, insertData, isDefaultNamespace, isElementContentWhitespace, isEqualNode, isId, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, replaceData, replaceWholeText, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setValue, splitText, substringData, supports
public TinyNamespaceImpl(TinyDocumentImpl doc, int nodeNr)
public int getNamespaceCode()
public int getFingerprint()
getFingerprint
in interface NodeInfo
getFingerprint
in class TinyNodeImpl
void setParentNode(int nodeNr)
public int getNameCode()
getNameCode
in interface NodeInfo
getNameCode
in class TinyNodeImpl
allocate
,
getFingerprint
public java.lang.String getPrefix()
getPrefix
in interface NodeInfo
getPrefix
in interface org.w3c.dom.Node
getPrefix
in class TinyNodeImpl
public java.lang.String getDisplayName()
getDisplayName
in interface NodeInfo
getDisplayName
in class TinyNodeImpl
public java.lang.String getLocalName()
getLocalName
in interface NodeInfo
getLocalName
in interface org.w3c.dom.Node
getLocalName
in class TinyNodeImpl
public java.lang.String getURI()
getURI
in interface NodeInfo
getURI
in class TinyNodeImpl
public NodeInfo getParent()
getParent
in interface NodeInfo
getParent
in class TinyNodeImpl
public final boolean isSameNodeInfo(NodeInfo other)
isSameNodeInfo
in interface NodeInfo
isSameNodeInfo
in class TinyNodeImpl
public final short getNodeType()
public final java.lang.String getStringValue()
public java.lang.String generateId()
generateId
in interface NodeInfo
generateId
in class TinyNodeImpl
public void copy(Outputter out) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerException
protected long getSequenceNumber()
getSequenceNumber
in class TinyNodeImpl