Interface Iteration

  • All Known Implementing Classes:
    Aggregation, ArrayParser, CollectionParser, MapParser

    public interface Iteration
    Repeating components must implement Iteration to offset record positions during marshalling and unmarshalling.
    Since:
    2.0
    • Method Detail

      • getIterationIndex

        int getIterationIndex​(ParsingContext context)
        Returns the index of the current iteration relative to its parent.
        Returns:
        the index of the current iteration
      • getIterationSize

        int getIterationSize()
        Returns the size of the components that make up a single iteration.
        Returns:
        the iteration size
      • isDynamicIteration

        boolean isDynamicIteration()
        Returns whether the iteration size is variable based on another field in the record.
        Returns:
        true if variable, false otherwise