Interface IModelNodeItem<D extends IFlagContainer,​I extends INamedInstance>

    • Method Detail

      • getPosition

        int getPosition()
        Retrieve the relative position of this node relative to sibling nodes.

        A singleton item in a sequence will have a position value of 1.

        The value 1 is used as the starting value to align with the XPath specification.

        Returns:
        a positive integer value designating this instance's position within a collection
      • getParentNodeItem

        INodeItem getParentNodeItem()
        Retrieve the parent node item if it exists.

        The parent can be an assembly or a document (in the case of a root assembly.

        Specified by:
        getParentNodeItem in interface INodeItem
        Returns:
        the parent node item, or null if this node item has no known parent