org.apache.maven.doxia.module.latex
Class LatexSinkFactory

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

@Component(role=SinkFactory.class,
           hint="latex")
public class LatexSinkFactory
extends AbstractTextSinkFactory

Latex implementation of the Sink factory.

Since:
1.0
Version:
$Id: LatexSinkFactory.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
LatexSinkFactory()
           
 
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

LatexSinkFactory

public LatexSinkFactory()
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.