Package org.joox

Interface Context


public interface Context
The context object passed to callback methods in Content, Each, Filter, and Mapper
Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    The element currently being iterated on.
    int
    The index of the element currently being iterated on.
    int
    The number of elements currently being iterated on.
    The element in the set of matched elements from which this callback is made.
    int
    The index of the element in the set of matched elements from which this callback is made.
    int
    The number of elements in the set of matched elements from which this callback is made.
  • Method Details

    • match

      Element match()
      The element in the set of matched elements from which this callback is made.
    • matchIndex

      int matchIndex()
      The index of the element in the set of matched elements from which this callback is made.
    • matchSize

      int matchSize()
      The number of elements in the set of matched elements from which this callback is made.
    • element

      Element element()
      The element currently being iterated on.

      If not further specified, this is the same as match()

    • elementIndex

      int elementIndex()
      The index of the element currently being iterated on.

      If not further specified, this is the same as matchIndex()

    • elementSize

      int elementSize()
      The number of elements currently being iterated on.

      If not further specified, this is the same as matchSize()