com.icl.saxon.tree
final class AttributeImpl extends NodeImpl implements Attr
Constructor Summary | |
---|---|
AttributeImpl(ElementImpl element, int index)
Construct an Attribute node for the n'th attribute of a given element |
Method Summary | |
---|---|
void | copy(Outputter out)
Copy this node to a given outputter |
String | generateId()
Get sequential key. |
int | getNameCode()
Get the name code, which enables the name to be located in the name pool |
NodeImpl | getNextInDocument(NodeImpl anchor)
Get the next node in document order (skipping attributes) |
Node | getNextSibling()
Get next sibling - not defined for attributes |
short | getNodeType()
Return the type of node. |
NodeImpl | getPreviousInDocument()
Get the previous node in document order (skipping attributes) |
Node | getPreviousSibling()
Get previous sibling - not defined for attributes |
protected long | getSequenceNumber()
Get the node sequence number (in document order). |
String | getStringValue()
Return the character value of the node. |
boolean | isSameNodeInfo(NodeInfo other)
Determine whether this is the same node as another node |
Parameters: element The element containing the relevant attribute index The index position of the attribute starting at zero
Returns: Node.ATTRIBUTE
Returns: the attribute value
Returns: true if this Node object and the supplied Node object represent the same node in the tree.