|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateBuilder
An interface for objects that build the compiled form of a template.
Method Detail |
---|
TemplateProcessor build() throws ParseException
TemplateProcessor
representing the compiled
form of the template.
ParseException
TemplateProcessor buildStatement(EmptyInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is an EmptyInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(GenericStartInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it should be built as a
GenericStartInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(ListInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is a ListInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(FunctionInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is a FunctionInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(LocalInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is a LocalInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(IfElseInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is an IfElseInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(SwitchInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is a SwitchInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(UnparsedInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is an UnparsedInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(BreakInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is a BreakInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
TemplateProcessor buildStatement(ExitInstruction instruction) throws ParseException
TemplateBuilder
calls
Instruction.callBuilder(freemarker.template.compiler.TemplateBuilder)
, the
Instruction
will call this method
if it is an ExitInstruction
.
instruction
- the Instruction
on which
callBuilder()
was called.
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |