final class TinyNamespaceImpl extends TinyNodeImpl
document, nodeNr, parentNODE_LETTERATTRIBUTE_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, setSystemIdappendChild, 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, supportspublic TinyNamespaceImpl(TinyDocumentImpl doc, int nodeNr)
public int getNamespaceCode()
public int getFingerprint()
getFingerprint in interface NodeInfogetFingerprint in class TinyNodeImplvoid setParentNode(int nodeNr)
public int getNameCode()
getNameCode in interface NodeInfogetNameCode in class TinyNodeImplallocate,
getFingerprintpublic java.lang.String getPrefix()
getPrefix in interface NodeInfogetPrefix in interface org.w3c.dom.NodegetPrefix in class TinyNodeImplpublic java.lang.String getDisplayName()
getDisplayName in interface NodeInfogetDisplayName in class TinyNodeImplpublic java.lang.String getLocalName()
getLocalName in interface NodeInfogetLocalName in interface org.w3c.dom.NodegetLocalName in class TinyNodeImplpublic java.lang.String getURI()
getURI in interface NodeInfogetURI in class TinyNodeImplpublic NodeInfo getParent()
getParent in interface NodeInfogetParent in class TinyNodeImplpublic final boolean isSameNodeInfo(NodeInfo other)
isSameNodeInfo in interface NodeInfoisSameNodeInfo in class TinyNodeImplpublic final short getNodeType()
public final java.lang.String getStringValue()
public java.lang.String generateId()
generateId in interface NodeInfogenerateId in class TinyNodeImplpublic void copy(Outputter out) throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionprotected long getSequenceNumber()
getSequenceNumber in class TinyNodeImpl