Interface SiblingCountingNode
- All Superinterfaces:
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, XSLComment, XSLContextItem, XSLCopy, XSLCopyOf, XSLDecimalFormat, XSLDocument, XSLElement, XSLEvaluate, XSLExpose, XSLFallback, XSLForEach, XSLForEachGroup, XSLFork, XSLFunction, XSLGeneralIncorporate, XSLGeneralVariable, XSLGlobalContextItem, XSLGlobalParam, XSLGlobalVariable, XSLIf, XSLImport, XSLImportSchema, XSLInclude, 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, 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.
-
Field Summary
Fields inherited from interface NodeInfo
IS_DTD_TYPE, IS_NILLED -
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, getStringValueCS, head, itemAt, iterate, reduce, subsequenceMethods inherited from interface Location
saveLocationMethods inherited from interface NodeInfo
atomize, attributes, children, children, compareOrder, copy, equals, generateId, getAllNamespaces, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNodeKind, getParent, getPrefix, getPublicId, getRoot, getSchemaType, getStringValue, getSystemId, getTreeInfo, getURI, hasChildNodes, hasFingerprint, hashCode, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, iterateAxis, toShortStringMethods inherited from interface Sequence
makeRepeatableMethods inherited from interface Source
isEmpty, setSystemId
-
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.
-