- java.lang.Object
-
- org.joox.DefaultContext
-
-
Field Summary
Fields Modifier and Type Field Description private org.w3c.dom.Element
element
private int
elementIndex
private int
elementSize
private org.w3c.dom.Element
match
private int
matchIndex
private int
matchSize
-
Constructor Summary
Constructors Constructor Description DefaultContext(org.w3c.dom.Element match, int matchIndex, int matchSize)
DefaultContext(org.w3c.dom.Element match, int matchIndex, int matchSize, org.w3c.dom.Element element, int elementIndex, int elementSize)
-
Method Summary
All Methods Instance Methods Concrete 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.java.lang.String
toString()
-
-
-
Method Detail
-
element
public final org.w3c.dom.Element element()
Description copied from interface:Context
The element currently being iterated on.If not further specified, this is the same as
Context.match()
-
elementIndex
public int elementIndex()
Description copied from interface:Context
The index of the element currently being iterated on.If not further specified, this is the same as
Context.matchIndex()
- Specified by:
elementIndex
in interfaceContext
-
elementSize
public int elementSize()
Description copied from interface:Context
The number of elements currently being iterated on.If not further specified, this is the same as
Context.matchSize()
- Specified by:
elementSize
in interfaceContext
-
match
public org.w3c.dom.Element match()
Description copied from interface:Context
The element in the set of matched elements from which this callback is made.
-
matchIndex
public int matchIndex()
Description copied from interface:Context
The index of the element in the set of matched elements from which this callback is made.- Specified by:
matchIndex
in interfaceContext
-
matchSize
public int matchSize()
Description copied from interface:Context
The number of elements in the set of matched elements from which this callback is made.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-