|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.renderers.LocationRenderer
@Scope(value="perthread") public class LocationRenderer
Responsible for rendering a Location
. It is designed to only perform the full output (which includes a
snippet of the source file) once per render. This requires the use of the "perthread" scope (since the service
tracks, internally, which locations have already been rendered, to avoid repetition).
Constructor Summary | |
---|---|
LocationRenderer()
|
Method Summary | |
---|---|
void |
render(Location location,
MarkupWriter writer)
Renders the object out as markup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocationRenderer()
Method Detail |
---|
public void render(Location location, MarkupWriter writer)
ObjectRenderer
render
in interface ObjectRenderer<Location>
location
- to be renderedwriter
- to which output should be directed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |