@Singleton @Named(value="xdoc") public class XdocSinkFactory extends AbstractXmlSinkFactory
| Constructor and Description |
|---|
XdocSinkFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Sink |
createSink(Writer writer,
String encoding)
Create a text Sink for a given encoding.
|
protected 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, createSinkpublic XdocSinkFactory()
protected Sink createSink(Writer writer, String encoding)
createSink in class AbstractTextSinkFactorywriter - The writer for the sink output, never null.encoding - The character encoding used by the writer.protected Sink createSink(Writer writer, String encoding, String languageId)
createSink in class AbstractXmlSinkFactorywriter - 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–2024 The Apache Software Foundation. All rights reserved.