|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.icl.saxon.om.AbstractNode
com.icl.saxon.tinytree.TinyNodeImpl
com.icl.saxon.tinytree.TinyNamespaceImpl
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.
| Field Summary |
|---|
| Fields inherited from class com.icl.saxon.tinytree.TinyNodeImpl |
|---|
document, nodeNr, parent |
| Fields inherited from class com.icl.saxon.om.AbstractNode |
|---|
NODE_LETTER |
| Fields inherited from interface org.w3c.dom.Node |
|---|
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 |
| Fields inherited from interface com.icl.saxon.om.NodeInfo |
|---|
ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, NODE, NONE, NUMBER_OF_TYPES, PI, ROOT, TEXT |
| Constructor Summary | |
|---|---|
TinyNamespaceImpl(TinyDocumentImpl doc,
int nodeNr)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class com.icl.saxon.tinytree.TinyNodeImpl |
|---|
compareOrder, getAttributeValue, getAttributeValue, getBaseURI, getDocumentRoot, getEnumeration, getLineNumber, getOriginatingNode, getSystemId, hasAttributes, hasChildNodes, outputNamespaceNodes, setLineNumber, setParentNode, setSystemId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TinyNamespaceImpl(TinyDocumentImpl doc,
int nodeNr)
| Method Detail |
|---|
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 TinyNodeImpl
public void copy(Outputter out)
throws javax.xml.transform.TransformerException
javax.xml.transform.TransformerExceptionprotected long getSequenceNumber()
getSequenceNumber in class TinyNodeImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||