org.apache.maven.doxia.module.confluence
Class ConfluenceSinkFactory
java.lang.Object
org.apache.maven.doxia.sink.AbstractTextSinkFactory
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"
|
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceSinkFactory
public ConfluenceSinkFactory()
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.