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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.w3c.dom.Element element()
      The element currently being iterated on.
      int elementIndex()
      The index of the element currently being iterated on.
      int elementSize()
      The number of elements currently being iterated on.
      org.w3c.dom.Element match()
      The element in the set of matched elements from which this callback is made.
      int matchIndex()
      The index of the element in the set of matched elements from which this callback is made.
      int matchSize()
      The number of elements in the set of matched elements from which this callback is made.
    • Method Detail

      • match

        org.w3c.dom.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

        org.w3c.dom.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()