net.sf.saxon.om
Interface SiblingCountingNode
- Item, NodeInfo, Source, PullEvent, ValueRepresentation
- DocumentWrapper, DocumentWrapper, DocumentWrapper, DocumentWrapper, DocumentWrapper, NodeWrapper, NodeWrapper, NodeWrapper, NodeWrapper, NodeWrapper
public interface SiblingCountingNode
Interface that extends NodeInfo by providing a method to get the position
of a node relative to its siblings.
int | getSiblingPosition() - Get the index position of this node among its siblings (starting from 0)
|
atomize , compareOrder , copy , equals , generateId , getAttributeValue , getBaseURI , getConfiguration , getDeclaredNamespaces , getDisplayName , getDocumentNumber , getDocumentRoot , getFingerprint , getLineNumber , getLocalPart , getNameCode , getNamePool , getNodeKind , getParent , getPrefix , getRoot , getStringValue , getSystemId , getTypeAnnotation , getURI , hasChildNodes , hashCode , isSameNodeInfo , iterateAxis , iterateAxis |
getSiblingPosition
public int getSiblingPosition()
Get the index position of this node among its siblings (starting from 0)
- 0 for the first child, 1 for the second child, etc.