org.apache.tapestry.services.impl
Class LocalizedStringRender

java.lang.Object
  extended by org.apache.tapestry.services.impl.LocalizedStringRender
All Implemented Interfaces:
IRender

public class LocalizedStringRender
extends Object
implements IRender

A class used with invisible localizations. Constructed from a TextToken.

Since:
3.0
Author:
Howard Lewis Ship

Constructor Summary
LocalizedStringRender(IComponent component, LocalizationToken token)
           
 
Method Summary
 void render(IMarkupWriter writer, IRequestCycle cycle)
          The principal rendering/rewinding method.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizedStringRender

public LocalizedStringRender(IComponent component,
                             LocalizationToken token)
Method Detail

render

public void render(IMarkupWriter writer,
                   IRequestCycle cycle)
Description copied from interface: IRender
The principal rendering/rewinding method. This will cause the receiving component to render its top level elements (HTML text and components).

Renderring and rewinding are the exact same process. The same code that renders must be able to restore state by going through the exact same operations (even though the output is discarded).

Specified by:
render in interface IRender

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.