|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfreemarker.template.instruction.EndInstruction
public final class EndInstruction
Represents an end instruction. The particular type of end instruction
is determined by the endType variable. Values of
endType can be taken from the Instruction interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface freemarker.template.instruction.Instruction |
|---|
Instruction.EndType |
| Constructor Summary | |
|---|---|
EndInstruction(Instruction.EndType endType)
Constructor that takes one of the end types from the Instruction
interface. |
|
| Method Summary | |
|---|---|
TemplateProcessor |
callBuilder(TemplateBuilder builder)
A TemplateBuilder can call
this method to have an Instruction call it back to be built. |
Instruction.EndType |
getEndType()
Return the end type that this instruction represents. |
boolean |
isEndInstruction()
Is this an end instruction? |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EndInstruction(Instruction.EndType endType)
Instruction
interface.
endType - the type of end instruction| Method Detail |
|---|
public boolean isEndInstruction()
isEndInstruction in interface Instructiontrue, to indicate this is an end instructionpublic Instruction.EndType getEndType()
getEndType in interface Instructionpublic TemplateProcessor callBuilder(TemplateBuilder builder)
TemplateBuilder can call
this method to have an Instruction call it back to be built.
For end instructions, there is nothing more to be build, so return
immediately.
callBuilder in interface Instructionbuilder - the builder to be called back by this methodpublic java.lang.String toString()
toString in class java.lang.ObjectString representation of the object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||