|
|||||||||
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 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 |
String |
generateId()
Get unique identifier. |
String |
getDisplayName()
Get the display name of this node. |
int |
getFingerprint()
Get the fingerprint |
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 |
String |
getPrefix()
Get the prefix part of the name of this node. |
protected long |
getSequenceNumber()
Get the node sequence number (in document order). |
String |
getStringValue()
Return the string value of the node. |
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 NodeInfo
getFingerprint
in class TinyNodeImpl
void setParentNode(int nodeNr)
public int getNameCode()
getNameCode
in interface NodeInfo
getNameCode
in class TinyNodeImpl
allocate
,
getFingerprint
public String getPrefix()
getPrefix
in interface NodeInfo
getPrefix
in interface Node
getPrefix
in class TinyNodeImpl
public String getDisplayName()
getDisplayName
in interface NodeInfo
getDisplayName
in class TinyNodeImpl
public String getLocalName()
getLocalName
in interface NodeInfo
getLocalName
in interface Node
getLocalName
in class TinyNodeImpl
public 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 String getStringValue()
public String generateId()
generateId
in interface NodeInfo
generateId
in class TinyNodeImpl
public void copy(Outputter out) throws TransformerException
TransformerException
protected long getSequenceNumber()
getSequenceNumber
in class TinyNodeImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |