de.smartics.exceptions.report.renderer
Class DefaultTextRenderer

Package class diagram package DefaultTextRenderer
java.lang.Object
  extended by de.smartics.exceptions.report.renderer.DefaultTextRenderer
All Implemented Interfaces:
TextRenderer

public class DefaultTextRenderer
     
     
extends Object
implements TextRenderer

Default implementation that simply outputs the text unchanged.


Constructor Summary
DefaultTextRenderer()
           
 
Method Summary
 StringBuilder render(StringBuilder buffer, String text)
          Renders the text to the given buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTextRenderer

public DefaultTextRenderer()
Method Detail

render

public StringBuilder render(StringBuilder buffer,
                            String text)
Renders the text to the given buffer.

Specified by:
render in interface TextRenderer
Parameters:
buffer - the buffer to append to.
text - the text to render.
See Also:
de.smartics.analysis.javadoc.render.TextRenderer#render(java.lang.StringBuilder, java.lang.String)
Returns:
the given buffer for convenience.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.