net.sf.saxon.tinytree
final class TinyAttributeImpl extends TinyNodeImpl
Constructor Summary | |
---|---|
TinyAttributeImpl(TinyTree tree, int nodeNr) |
Method Summary | |
---|---|
void | copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId)
Copy this node to a given outputter |
void | generateId(FastStringBuffer buffer)
Generate id. |
String | getDisplayName()
Get the display name of this node. |
int | getFingerprint()
Get the fingerprint of the node, used for matching names |
int | getLineNumber()
Get the line number of the node within its source document entity |
String | getLocalPart()
Get the local name of this node. |
int | getNameCode()
Get the name code of the node, used for finding names in the name pool |
int | getNodeKind()
Return the type of node. |
NodeInfo | getParent()
Get the parent node |
String | getPrefix()
Get the prefix part of the name of this node. |
NodeInfo | getRoot()
Get the root node of the tree (not necessarily a document node)
|
protected long | getSequenceNumber()
Get the node sequence number (in document order). |
String | getStringValue()
Return the string value of the node. |
CharSequence | getStringValueCS()
Return the string value of the node. |
int | getTypeAnnotation()
Get the type annotation of this node, if any
The bit IS_DTD_TYPE (1<<30) will be set in the case of an attribute node if the type annotation
is one of ID, IDREF, or IDREFS and this is derived from DTD rather than schema validation.
|
String | getURI()
Get the URI part of the name of this node. |
Parameters: buffer Buffer to contain the generated ID value
Returns: The display name of this node. For a node with no name, return an empty string.
Returns: The local name of this node. For a node with no name, return an empty string.
Returns: Node.ATTRIBUTE
Returns: the prefix part of the name. For an unnamed node, return null.
Returns: the NodeInfo representing the root of this tree
Returns: the attribute value
Returns: the attribute value
Returns: The URI of the namespace of this node. For the default namespace, return an empty string