|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemarker.template.instruction.EmptyInstruction
public abstract class EmptyInstruction
A superclass for Instructions that have no associated
EndInstruction.
| Field Summary |
|---|
| Fields inherited from interface freemarker.template.instruction.Instruction |
|---|
ASSIGN_END, BREAK, CASE, COMMENT_END, COMPRESS_END, DEFAULT, ELSE, ELSEIF, FOREACH_END, FUNCTION_END, IF_END, LIST_END, NONE, NOPARSE_END, SWITCH_END, TRANSFORM_END |
| Fields inherited from interface freemarker.template.TemplateProcessor |
|---|
BREAK, EXIT, OK, UNCOMPILED_TEMPLATE |
| Constructor Summary | |
|---|---|
EmptyInstruction()
Default constructor. |
|
| Method Summary | |
|---|---|
TemplateProcessor |
callBuilder(TemplateBuilder builder)
A TemplateBuilder can call this
method to have an Instruction call it back to be built. |
int |
getEndType()
Determine what type of end instruction this is, if any. |
boolean |
isEndInstruction()
Is this an end instruction? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface freemarker.template.TemplateProcessor |
|---|
process |
| Constructor Detail |
|---|
public EmptyInstruction()
| Method Detail |
|---|
public boolean isEndInstruction()
isEndInstruction in interface Instructionfalse, indicating that this is not an end
instructionpublic int getEndType()
getEndType in interface InstructionNONE, indicating that this is not an end instruction
public TemplateProcessor callBuilder(TemplateBuilder builder)
throws ParseException
TemplateBuilder can call this
method to have an Instruction call it back to be built. This
implementation calls the
TemplateBuilder.buildStatement(EmptyInstruction)
method, passing back a reference to itself. This approach is intended to
make type-checking of Instruction objects unnecessary.
callBuilder in interface Instructionbuilder - the builder to be called back by this method
ParseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||