org.apache.tapestry.describe
Class PreformattedRenderStrategy

java.lang.Object
  extended by org.apache.tapestry.describe.PreformattedRenderStrategy
All Implemented Interfaces:
RenderStrategy

public class PreformattedRenderStrategy
extends Object
implements RenderStrategy

Render stategy for objects whose toString() produces a good deal of text, where that text is easier to read if preformmatted (using the HTML <pre> element).

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
PreformattedRenderStrategy()
           
 
Method Summary
 void renderObject(Object object, IMarkupWriter writer, IRequestCycle cycle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreformattedRenderStrategy

public PreformattedRenderStrategy()
Method Detail

renderObject

public void renderObject(Object object,
                         IMarkupWriter writer,
                         IRequestCycle cycle)
Specified by:
renderObject in interface RenderStrategy


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