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
 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.
 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

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()



Copyright © 2012. All Rights Reserved.