public abstract class AbstractXmlSinkFactory extends AbstractTextSinkFactory
SinkFactory for XML markup syntax. UTF-8 is used
when no encoding is specified.ROLE| Constructor and Description |
|---|
AbstractXmlSinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Sink |
createSink(Writer writer,
String encoding,
String languageId)
Create a text Sink for a given encoding and for a given language identifier.
|
createSink, createSink, createSink, createSink, createSinkprotected abstract Sink createSink(Writer writer, String encoding, String languageId)
writer - The writer for the sink output, never null.encoding - The character encoding used by the writer.languageId - language identifier for the root element as defined by
IETF BCP 47, Tags for the Identification of Languages;
in addition, the empty string may be specified.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.