com.servingxml.components.streamsink
Class DefaultStreamSinkFactory

java.lang.Object
  extended by com.servingxml.components.streamsink.DefaultStreamSinkFactory
All Implemented Interfaces:
StreamSinkFactory

public class DefaultStreamSinkFactory
extends java.lang.Object
implements StreamSinkFactory


Constructor Summary
DefaultStreamSinkFactory()
           
DefaultStreamSinkFactory(java.nio.charset.Charset charset)
           
 
Method Summary
 StreamSink createStreamSink(ServiceContext context, Flow flow)
           
 java.nio.charset.Charset getCharset()
           
 java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStreamSinkFactory

public DefaultStreamSinkFactory()

DefaultStreamSinkFactory

public DefaultStreamSinkFactory(java.nio.charset.Charset charset)
Method Detail

getCharset

public java.nio.charset.Charset getCharset()
Specified by:
getCharset in interface StreamSinkFactory

getCharset

public java.nio.charset.Charset getCharset(java.nio.charset.Charset defaultCharset)
Specified by:
getCharset in interface StreamSinkFactory

createStreamSink

public StreamSink createStreamSink(ServiceContext context,
                                   Flow flow)
Specified by:
createStreamSink in interface StreamSinkFactory