org.apache.maven.doxia.module.apt
Class AptSinkFactory

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

@Component(role=SinkFactory.class,
           hint="apt")
public class AptSinkFactory
extends AbstractTextSinkFactory

APT implementation of the Sink factory.

Since:
1.0
Version:
$Id: AptSinkFactory.java 1345590 2012-06-02 21:36:10Z hboutemy $
Author:
Vincent Siveton

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.sink.SinkFactory
ROLE
 
Constructor Summary
AptSinkFactory()
           
 
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

AptSinkFactory

public AptSinkFactory()
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-2013 The Apache Software Foundation. All Rights Reserved.