| java.lang.Object net.sf.saxon.tinytree.TinyNodeImpl net.sf.saxon.tinytree.TinyAttributeImpl
TinyAttributeImpl | final class TinyAttributeImpl extends TinyNodeImpl (Code) | | A node in the XML parse tree representing an attribute. Note that this is
generated only "on demand", when the attribute is selected by a select pattern.
author: Michael H. Kay |
TinyAttributeImpl | public TinyAttributeImpl(TinyTree tree, int nodeNr)(Code) | | |
copy | public void copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId) throws XPathException(Code) | | Copy this node to a given outputter
|
generateId | public String generateId()(Code) | | Generate id. Returns key of owning element with the attribute namecode as a suffix
|
getDisplayName | public String getDisplayName()(Code) | | Get the display name of this node. For elements and attributes this is [prefix:]localname.
For unnamed nodes, it is an empty string.
The display name of this node.For a node with no name, return an empty string. |
getFingerprint | public int getFingerprint()(Code) | | Get the fingerprint of the node, used for matching names
|
getLineNumber | public int getLineNumber()(Code) | | Get the line number of the node within its source document entity
|
getLocalPart | public String getLocalPart()(Code) | | Get the local name of this node.
The local name of this node.For a node with no name, return an empty string. |
getNameCode | public int getNameCode()(Code) | | Get the name code of the node, used for finding names in the name pool
|
getNodeKind | final public int getNodeKind()(Code) | | Return the type of node.
Node.ATTRIBUTE |
getPrefix | public String getPrefix()(Code) | | Get the prefix part of the name of this node. This is the name before the ":" if any.
the prefix part of the name. For an unnamed node, return null. |
getRoot | public NodeInfo getRoot()(Code) | | Get the root node of the tree (not necessarily a document node)
the NodeInfo representing the root of this tree |
getSequenceNumber | protected long getSequenceNumber()(Code) | | Get the node sequence number (in document order). Sequence numbers are monotonic but not
consecutive. In this implementation, elements have a zero
least-significant word, while attributes and namespaces use the same value in the top word as
the containing element, and use the bottom word to hold
a sequence number, which numbers namespaces first and then attributes.
|
getStringValue | public String getStringValue()(Code) | | Return the string value of the node.
the attribute value |
getStringValueCS | public CharSequence getStringValueCS()(Code) | | Return the string value of the node.
the attribute value |
getTypeAnnotation | public int getTypeAnnotation()(Code) | | Get the type annotation of this node, if any
The bit
NodeInfo.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.
Returns UNTYPED_ATOMIC if there is no type annotation
|
getURI | final public String getURI()(Code) | | Get the URI part of the name of this node.
The URI of the namespace of this node. For the default namespace, return anempty string |
|
|