|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.ui.template.TemplateParseContext
A implementation of ParseContext used by HtmlTemplatePanel. This contains a reference to the parent Element and the ComponentPeer that is performing the rendering.
Constructor Summary | |
TemplateParseContext(nextapp.echoservlet.RenderingContext rc,
nextapp.echoservlet.html.Element parentElement,
ComponentMapper componentMapper,
ComponentPeerMapper peerMapper,
PropertyManagerOwner propertyManagerOwner,
TextSubstitution textSubstitution,
boolean isLoudErrorsUsed)
Constructs a TemplateParseContext object |
Method Summary | |
void |
doneTag(int number)
Called when a tag number i has finished executing |
nextapp.echo.Component |
getComponent(java.lang.String name)
Returns the a component with a given name |
nextapp.echoservlet.ComponentPeer |
getComponentPeer(nextapp.echo.Component component)
Returns the a peer for a given component |
nextapp.echoservlet.Id |
getId()
Returns a unique Id object for this context |
nextapp.echoservlet.html.Element |
getOutputElement()
Returns the Element for output to be placed in |
PropertyManager |
getPropertyManager(java.lang.Class componentClazz)
Returns a PropertyManager for a given Component class. |
nextapp.echoservlet.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateParseContext(nextapp.echoservlet.RenderingContext rc, nextapp.echoservlet.html.Element parentElement, ComponentMapper componentMapper, ComponentPeerMapper peerMapper, PropertyManagerOwner propertyManagerOwner, TextSubstitution textSubstitution, boolean isLoudErrorsUsed)
Method Detail |
public void doneTag(int number)
ParseContext
doneTag
in interface ParseContext
number
- - the number of the tagParseContext.doneTag(int)
public nextapp.echo.Component getComponent(java.lang.String name)
public nextapp.echoservlet.ComponentPeer getComponentPeer(nextapp.echo.Component component)
public nextapp.echoservlet.html.Element getOutputElement()
ParseContext
getOutputElement
in interface ParseContext
ParseContext.getOutputElement()
public PropertyManager getPropertyManager(java.lang.Class componentClazz)
public nextapp.echoservlet.RenderingContext getRenderingContext()
ParseContext
getRenderingContext
in interface ParseContext
ParseContext.getRenderingContext()
public TextSubstitution getTextSubstitution()
ParseContext
getTextSubstitution
in interface ParseContext
ParseContext.getTextSubstitution()
public void startTag(int number)
ParseContext
startTag
in interface ParseContext
number
- - the number of the tagParseContext.startTag(int)
public nextapp.echoservlet.Id getId()
ParseContext
getId
in interface ParseContext
ParseContext.getId()
public boolean isLoudErrorsUsed()
ParseContext
isLoudErrorsUsed
in interface ParseContext
ParseContext.isLoudErrorsUsed()
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |