Class LoopTool.ActionCondition
- java.lang.Object
-
- org.apache.velocity.tools.generic.LoopTool.ActionCondition
-
- Enclosing class:
- LoopTool
public static class LoopTool.ActionCondition extends java.lang.Object
Composition class which associates anLoopTool.Action
andLoopTool.Condition
for aLoopTool.ManagedIterator
.
-
-
Field Summary
Fields Modifier and Type Field Description protected LoopTool.Action
action
protected LoopTool.Condition
condition
-
Constructor Summary
Constructors Constructor Description ActionCondition(LoopTool.Action action, LoopTool.Condition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.lang.Object value)
Returns true if the specified value meets the setLoopTool.Condition
-
-
-
Field Detail
-
condition
protected LoopTool.Condition condition
-
action
protected LoopTool.Action action
-
-
Constructor Detail
-
ActionCondition
public ActionCondition(LoopTool.Action action, LoopTool.Condition condition)
-
-
Method Detail
-
matches
public boolean matches(java.lang.Object value)
Returns true if the specified value meets the setLoopTool.Condition
-
-