info.magnolia.rendering.engine
Class AppendableOnlyOutputProvider

java.lang.Object
  extended by info.magnolia.rendering.engine.AppendableOnlyOutputProvider
All Implemented Interfaces:
OutputProvider

public class AppendableOnlyOutputProvider
extends Object
implements OutputProvider

Output provider wrapping only Appendable and not providing output stream.

Version:
$Id$

Constructor Summary
AppendableOnlyOutputProvider(Appendable out)
           
 
Method Summary
 Appendable getAppendable()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppendableOnlyOutputProvider

public AppendableOnlyOutputProvider(Appendable out)
Method Detail

getAppendable

public Appendable getAppendable()
                         throws RenderException,
                                IOException
Specified by:
getAppendable in interface OutputProvider
Throws:
RenderException
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws RenderException,
                                    IOException
Specified by:
getOutputStream in interface OutputProvider
Throws:
RenderException
IOException


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.