echopoint.ui.template
Interface ParseContext

All Known Implementing Classes:
TemplateParseContext

public interface ParseContext

A parse context is generated for each processing of a page and may hold parameters which are needed in the tag Handlers.


Method Summary
 void doneTag(int number)
          Called when a tag number i has finished executing
 Id getId()
          Returns a unique Id object for this context
 Element getOutputElement()
          Returns the Element for output to be placed in
 RenderingContext getRenderingContext()
          Returns the RenderingContext that output is controlled by.
 TextSubstitution getTextSubstitution()
          Returns the TextSubstitution object
 boolean isLoudErrorsUsed()
          This returns true if "loud" error messages are to be used during template compilation.
 void startTag(int number)
          Called when a tag number i is executed
 

Method Detail

doneTag

void doneTag(int number)
Called when a tag number i has finished executing

Parameters:
number - - the number of the tag

getOutputElement

Element getOutputElement()
Returns the Element for output to be placed in


getRenderingContext

RenderingContext getRenderingContext()
Returns the RenderingContext that output is controlled by.


getTextSubstitution

TextSubstitution getTextSubstitution()
Returns the TextSubstitution object


startTag

void startTag(int number)
Called when a tag number i is executed

Parameters:
number - - the number of the tag

getId

Id getId()
Returns a unique Id object for this context

Returns:
a unique Id object for this context

isLoudErrorsUsed

boolean isLoudErrorsUsed()
This returns true if "loud" error messages are to be used during template compilation.

Returns:
true if lound error messages are to be displayed