Interface SiblingCountingNode
- All Superinterfaces:
ActiveSource, GroundedValue, Item, Location, Locator, NodeInfo, Sequence, Source, SourceLocator
- All Known Implementing Classes:
AbsentExtensionElement, AttributeImpl, CommentImpl, DataElement, DocumentImpl, DOM4JNodeWrapper, DOMNodeWrapper, ElementImpl, ExtensionInstruction, JDOM2NodeWrapper, LiteralResultElement, NodeImpl, ParentNodeImpl, ProcInstImpl, StyleElement, TextImpl, TextValueTemplateNode, XOMDocumentWrapper, XOMNodeWrapper, XSLAccept, XSLAcceptExpose, XSLAccumulator, XSLAccumulatorRule, XSLAnalyzeString, XSLApplyImports, XSLApplyTemplates, XSLAssert, XSLAttribute, XSLAttributeSet, XSLBreak, XSLBreakOrContinue, XSLCallTemplate, XSLCatch, XSLCharacterMap, XSLChoose, XSLChooseOrSwitch, XSLComment, XSLContextItem, XSLCopy, XSLCopyOf, XSLDecimalFormat, XSLDocument, XSLElement, XSLEvaluate, XSLExpose, XSLFallback, XSLForEach, XSLForEachGroup, XSLFork, XSLFunction, XSLGeneralIncorporate, XSLGeneralVariable, XSLGlobalContextItem, XSLGlobalParam, XSLGlobalVariable, XSLIf, XSLImport, XSLImportSchema, XSLInclude, XSLItemType, XSLIterate, XSLKey, XSLLeafNodeConstructor, XSLLocalParam, XSLLocalVariable, XSLMap, XSLMapEntry, XSLMatchingSubstring, XSLMerge, XSLMergeAction, XSLMergeKey, XSLMergeSource, XSLMessage, XSLMode, XSLModuleRoot, XSLNamespace, XSLNamespaceAlias, XSLNextIteration, XSLNextMatch, XSLNumber, XSLOnCompletion, XSLOnEmpty, XSLOnNonEmpty, XSLOtherwise, XSLOutput, XSLOutputCharacter, XSLOverride, XSLPackage, XSLPerformSort, XSLPreserveSpace, XSLProcessingInstruction, XSLResultDocument, XSLSequence, XSLSort, XSLSortOrMergeKey, XSLSourceDocument, XSLStylesheet, XSLSwitch, XSLTemplate, XSLText, XSLTry, XSLUsePackage, XSLValueOf, XSLWhen, XSLWherePopulated, XSLWithParam
Interface that extends NodeInfo by providing a method to get the position
of a node relative to its siblings.
-
Method Summary
Modifier and TypeMethodDescriptionintGet the index position of this node among its siblings (starting from 0)Methods inherited from interface GroundedValue
asIterable, concatenate, containsNode, effectiveBooleanValue, materializeMethods inherited from interface Item
getLength, getStringValue, getUnicodeStringValue, head, itemAt, iterate, reduce, subsequenceMethods inherited from interface Location
saveLocationMethods inherited from interface NodeInfo
asActiveSource, atomize, attributes, children, children, compareOrder, copy, deliver, equals, generateId, getAllNamespaces, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNamespaceUri, getNodeKind, getParent, getPrefix, getPublicId, getRoot, getSchemaType, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, hashCode, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, iterateAxis, setSystemId, toShortStringMethods inherited from interface Sequence
makeRepeatable
-
Method Details
-
getSiblingPosition
int getSiblingPosition()Get the index position of this node among its siblings (starting from 0)- Returns:
- 0 for the first child, 1 for the second child, etc.
-