org.oXML.engine.template
Class ForEachTemplate
java.lang.Object
org.oXML.engine.template.ForEachTemplate
- All Implemented Interfaces:
- Template
- public class ForEachTemplate
- extends java.lang.Object
- implements Template
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
select
protected Expression select
body
protected Template body
name
protected Name name
from
protected Expression from
to
protected Expression to
step
protected Expression step
in
protected Expression in
delim
protected Expression delim
ForEachTemplate
public ForEachTemplate(Name name,
Expression select,
Template body)
ForEachTemplate
public ForEachTemplate(Name name,
Expression in,
Expression delim,
Template body)
- Parameters:
in - string expression, not nulldelim - token delimiter, or null for default
ForEachTemplate
public ForEachTemplate(Name name,
Expression from,
Expression to,
Expression step,
Template body)
- Parameters:
from - start of iteration, or null for defaultto - end of iteration, not nullstep - increment of iteration, or null for default
process
public void process(RuntimeContext env)
throws ObjectBoxException
- Specified by:
process in interface Template
- Throws:
ObjectBoxException
set
protected void set(RuntimeContext env,
Node value)