Package net.sf.saxon.tree.wrapper
Interface SiblingCountingNode
- All Superinterfaces:
GNode,GroundedValue,Item,Sequence
- All Known Implementing Classes:
AbsentExtensionElement,AnnotationParent,AttributeImpl,AxiomAttributeWrapper,AxiomDocumentNodeWrapper,AxiomElementNodeWrapper,AxiomLeafNodeWrapper,AxiomParentNodeWrapper,ChildJNode,CommentImpl,DataElement,DocumentImpl,DOM4JNodeWrapper,DOMNodeWrapper,ElementImpl,ExtensionInstruction,IXSLPromise,IXSLRemoveAttribute,IXSLRemoveProperty,IXSLScheduleAction,IXSLSetAttribute,IXSLSetProperty,IXSLSetStyle,JDOM2NodeWrapper,JNodeForArrayMember,JNodeForMapEntry,LiteralResultElement,NodeImpl,ParentNodeImpl,ProcInstImpl,SaxonAssign,SaxonChange,SaxonDeepUpdate,SaxonDelete,SaxonDo,SaxonDoctype,SaxonEntityRef,SaxonImportQuery,SaxonInsert,SaxonParam,SaxonPreprocess,SaxonRename,SaxonReplace,SaxonUpdate,SaxonWhile,SchemaElement,SQLClose,SQLColumn,SQLConnect,SQLDelete,SQLExecute,SQLInsert,SQLQuery,SQLUpdate,StyleElement,TextImpl,TextValueTemplateNode,UnknownElement,XOMDocumentWrapper,XOMNodeWrapper,XSDAlternative,XSDAnnotation,XSDAny,XSDAnyAttribute,XSDAssert,XSDAttribute,XSDAttributeGroup,XSDComplexContent,XSDComplexContentRestriction,XSDComplexType,XSDCompositor,XSDDefaultOpenContent,XSDDocumentation,XSDElement,XSDExtension,XSDFacet,XSDFieldOrSelector,XSDGroup,XSDIdentityConstraint,XSDImport,XSDInclude,XSDList,XSDNotation,XSDOpenContent,XSDOverride,XSDRedefine,XSDSchemaElement,XSDSimpleContent,XSDSimpleContentRestriction,XSDSimpleType,XSDSimpleTypeRestriction,XSDUnion,XSLAccept,XSLAcceptExpose,XSLAccumulator,XSLAccumulatorRule,XSLAnalyzeString,XSLApplyImports,XSLApplyTemplates,XSLArray,XSLArrayMember,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,XSLImportSchemaEE,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,XSLRecord,XSLResultDocument,XSLSelect,XSLSequence,XSLSort,XSLSortOrMergeKey,XSLSourceDocument,XSLStylesheet,XSLSwitch,XSLTemplate,XSLText,XSLTry,XSLUsePackage,XSLValueOf,XSLWhen,XSLWherePopulated,XSLWithParam
Interface that extends GNode 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 net.sf.saxon.om.GNode
compareOrder, generateId, getNodeKind, getParent, hasChildNodes, iterateAncestorAxis, iterateAncestorOrSelfAxis, iterateAttributeAxis, iterateChildAxis, iterateDescendantAxis, iterateDescendantOrSelfAxis, iterateFollowingAxis, iterateFollowingOrSelfAxis, iterateFollowingSiblingAxis, iterateFollowingSiblingOrSelfAxis, iterateNamespaceAxis, iterateParentAxis, iteratePrecedingAxis, iteratePrecedingOrSelfAxis, iteratePrecedingSiblingAxis, iteratePrecedingSiblingOrSelfAxis, iterateSelfAxisMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, effectiveBooleanValue, materializeMethods inherited from interface net.sf.saxon.om.Item
atomize, getGenre, getLabel, getLength, getStringValue, getUnicodeStringValue, head, isStreamed, itemAt, iterate, reduce, subsequence, toShortStringMethods inherited from interface net.sf.saxon.om.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.
-