|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemarker.template.instruction.EmptyInstruction
freemarker.template.instruction.VariableInstruction
public final class VariableInstruction
An instruction that outputs the value of a Variable.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface freemarker.template.instruction.Instruction |
|---|
Instruction.EndType |
| Nested classes/interfaces inherited from interface freemarker.template.TemplateProcessor |
|---|
TemplateProcessor.ExitStatus |
| Constructor Summary | |
|---|---|
VariableInstruction(Expression expression,
boolean escaped)
Constructor that takes a Expression
to be output. |
|
| Method Summary | |
|---|---|
TemplateProcessor.ExitStatus |
process(TemplateProcessorParameters p)
Process this ${ ... |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class freemarker.template.instruction.EmptyInstruction |
|---|
callBuilder, getEndType, isEndInstruction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VariableInstruction(Expression expression,
boolean escaped)
Expression
to be output.
expression - the expression to be output
java.lang.NullPointerException - the expression was null
java.lang.IllegalArgumentException - the expression was not a scalar nor a number| Method Detail |
|---|
public TemplateProcessor.ExitStatus process(TemplateProcessorParameters p)
throws java.io.IOException
${ ... } instruction.
process in interface TemplateProcessorp - template processing parameters
java.io.IOException - an IO error occurred during processingpublic java.lang.String toString()
toString in class java.lang.ObjectString representing this instruction subtree
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||