| java.lang.Object net.sf.saxon.tree.NodeImpl net.sf.saxon.tree.AttributeImpl
AttributeImpl | final class AttributeImpl extends NodeImpl (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 |
AttributeImpl | public AttributeImpl(ElementImpl element, int index)(Code) | | Construct an Attribute node for the n'th attribute of a given element
Parameters: element - The element containing the relevant attribute Parameters: index - The index position of the attribute starting at zero |
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) | | Get sequential key. Returns key of owning element with the attribute index as a suffix
|
getNameCode | public int getNameCode()(Code) | | Get the name code, which enables the name to be located in the name pool
|
getNextInDocument | public NodeImpl getNextInDocument(NodeImpl anchor)(Code) | | Get the next node in document order (skipping attributes)
|
getNextSibling | public NodeInfo getNextSibling()(Code) | | Get next sibling - not defined for attributes
|
getNodeKind | final public int getNodeKind()(Code) | | Return the type of node.
Node.ATTRIBUTE |
getPreviousInDocument | public NodeImpl getPreviousInDocument()(Code) | | Get the previous node in document order (skipping attributes)
|
getPreviousSibling | public NodeInfo getPreviousSibling()(Code) | | Get previous sibling - not defined for attributes
|
getSequenceNumber | protected long getSequenceNumber()(Code) | | Get the node sequence number (in document order). Sequence numbers are monotonic but not
consecutive. In the current implementation, parent nodes (elements and roots) have a zero
least-significant word, while namespaces, attributes, text nodes, comments, and PIs have
the top word the same as their owner and the bottom half reflecting their relative position.
|
getStringValue | public String getStringValue()(Code) | | Return the character value of the node.
the attribute value |
getTypeAnnotation | public int getTypeAnnotation()(Code) | | Get the type annotation of this node, if any
|
isSameNodeInfo | public boolean isSameNodeInfo(NodeInfo other)(Code) | | Determine whether this is the same node as another node
true if this Node object and the supplied Node object represent thesame node in the tree. |
|
|