org.apache.maven.doxia.module.confluence
Class ConfluenceSinkFactory

java.lang.Object
  extended by org.apache.maven.doxia.sink.AbstractTextSinkFactory
      extended by org.apache.maven.doxia.module.confluence.ConfluenceSinkFactory
All Implemented Interfaces:
SinkFactory

public class ConfluenceSinkFactory
extends AbstractTextSinkFactory

Confluence implementation of the Sink factory.

Since:
1.0
Version:
$Id: ConfluenceSinkFactory.java 712574 2008-11-09 22:16:42Z hboutemy $
Author:
Vincent Siveton
Plexus component:
role:
"org.apache.maven.doxia.sink.SinkFactory"
role-hint:
"confluence"

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE
 
Constructor Summary
ConfluenceSinkFactory()
           
 
Method Summary
protected  Sink createSink(Writer writer, String encoding)
          Create a text Sink for a given encoding.
 
Methods inherited from class org.apache.maven.doxia.sink.AbstractTextSinkFactory
createSink, createSink, createSink, createSink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceSinkFactory

public ConfluenceSinkFactory()
Method Detail

createSink

protected Sink createSink(Writer writer,
                          String encoding)
Create a text Sink for a given encoding.

Specified by:
createSink in class AbstractTextSinkFactory
Parameters:
writer - The writer for the sink output, never null.
encoding - The character encoding used by the writer.
Returns:
a Sink for text output in the given encoding.


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.