@Component(role=SinkFactory.class, hint="itext") public class ITextSinkFactory extends AbstractTextSinkFactory
ROLE
Constructor and Description |
---|
ITextSinkFactory() |
Modifier and Type | Method and Description |
---|---|
Sink |
createSink(org.codehaus.plexus.util.xml.PrettyPrintXMLWriter xmlWriter)
Create a
Sink into a PrettyPrintXMLWriter. |
Sink |
createSink(Writer writer)
createSink.
|
protected Sink |
createSink(Writer writer,
String encoding)
Create a text Sink for a given encoding.
|
createSink, createSink, createSink, createSink
public ITextSinkFactory()
protected Sink createSink(Writer writer, String encoding)
createSink
in class AbstractTextSinkFactory
writer
- The writer for the sink output, never null
.encoding
- The character encoding used by the writer.public Sink createSink(Writer writer)
public Sink createSink(org.codehaus.plexus.util.xml.PrettyPrintXMLWriter xmlWriter)
Sink
into a PrettyPrintXMLWriter.xmlWriter
- not null XML writer to write the result.Sink
instance.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.