Class ForEach<EACHTYPE>
java.lang.Object
com.webfirmframework.wffweb.interpreter.ForEach<EACHTYPE>
- All Implemented Interfaces:
Serializable
,Cloneable
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionForEach
(AbstractHtml base, EACHTYPE... values) ForEach
(AbstractHtml base, Collection<EACHTYPE> values) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
each
(AbstractHtml base, Object values, EACHTYPE eachValue) invokes for each looping.
-
Constructor Details
-
ForEach
- Parameters:
base
- the parent object i.e. the outer tag, usually this (current object). This argument cannot be null.values
- from which to do the iteration
-
ForEach
- Parameters:
base
- the parent object i.e. the outer tag, usually this (current object). This argument cannot be null.values
- from which to do the iteration
-
-
Method Details
-
each
invokes for each looping.- Parameters:
base
- the base object given as the argument.values
- the values object passed as a constructor argument. Type cast to the corresponding type.eachValue
- each value from the given values passed in constructor.- Since:
- 1.0.0
-