org.oXML.engine.template
Class EvalTemplate
java.lang.Object
org.oXML.engine.template.EvalTemplate
- All Implemented Interfaces:
- Template
- Direct Known Subclasses:
- AttributeTemplate, CommentTemplate, LogTemplate, ProcessingInstructionTemplate, ReturnTemplate, TextTemplate, VariableTemplate, WriteTemplate
- public class EvalTemplate
- extends java.lang.Object
- implements Template
A Template that substitutes either the text in the attribute called
"select", or the first child node if it is a Text node.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
select
protected Expression select
body
protected Template body
EvalTemplate
public EvalTemplate(Expression select)
EvalTemplate
protected EvalTemplate(Template body)
evaluate
protected Node evaluate(RuntimeContext env)
throws ObjectBoxException
- Throws:
ObjectBoxException
process
public void process(RuntimeContext env)
throws ObjectBoxException
- Specified by:
process in interface Template
- Throws:
ObjectBoxException
toString
public java.lang.String toString()