de.espirit.firstspirit.parser
Interface Printable

All Superinterfaces:
TemplateElement
All Known Subinterfaces:
TemplateDocument

public interface Printable
extends TemplateElement

Since:
4.0.17

Method Summary
 String getInfo()
          The descriptive text shown in template stack traces.
 boolean isAnonymous()
          Anonymous means: Does not occur in template stack traces.
 void print(Evaluator evaluator)
          Evaluates the template fragment utilizing the provided evaluator.
 
Methods inherited from interface de.espirit.firstspirit.access.template.TemplateElement
getChildAt, getChildCount, getSourceColumn, getSourceLine, isEmpty, printSource
 

Method Detail

print

void print(Evaluator evaluator)
           throws IOException
Evaluates the template fragment utilizing the provided evaluator. Do not call this method directly, use Evaluator.print(Printable).

Parameters:
evaluator - used during evaluation for determing variable values, invoking methods etc.
Throws:
IOException - on failure
Since:
4.0.17

getInfo

String getInfo()
The descriptive text shown in template stack traces. If null is returned and Printable.isAnonymous() is false then the value returned by #toString() is used in the trace.

Since:
4.0.17
See Also:
Printable.isAnonymous()

isAnonymous

boolean isAnonymous()
Anonymous means: Does not occur in template stack traces.

Since:
4.0.17


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480