TokenStreamFactory implementation that offers support for
streams that allow decoration of low-level input sources and output targets.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | DecorableTSFactory.
Since factory instances are immutable, a Builder class is needed for creating configurations for differently configured factory instances. |
| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected final InputDecorator | _inputDecorator
Optional helper object that may decorate input sources, to do additional processing on input during parsing. |
| protected final OutputDecorator | _outputDecorator
Optional helper object that may decorate output object, to do additional processing on output during content generation. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | DecorableTSFactory(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int formatPF, int formatGF)
|
| protected | DecorableTSFactory(DecorableTSFactory.
Builder with configurations to use baseBuilderConstructor used by builders for instantiation. |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected static <T> List | |
| protected InputStream | |
| protected Reader | |
| protected DataInput | |
| protected OutputStream | |
| protected Writer | |
| protected JsonGenerator | |
| public List | |
| public InputDecorator | |
| public OutputDecorator |
| _generatorDecorators | back to summary |
|---|---|
| protected List<JsonGeneratorDecorator> _generatorDecorators | |
| _inputDecorator | back to summary |
|---|---|
| protected final InputDecorator _inputDecorator Optional helper object that may decorate input sources, to do additional processing on input during parsing. | |
| _outputDecorator | back to summary |
|---|---|
| protected final OutputDecorator _outputDecorator Optional helper object that may decorate output object, to do additional processing on output during content generation. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| DecorableTSFactory | back to summary |
|---|---|
| protected DecorableTSFactory(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int formatPF, int formatGF) | |
| DecorableTSFactory | back to summary |
|---|---|
| protected DecorableTSFactory(DecorableTSFactory. Constructor used by builders for instantiation.
| |
| DecorableTSFactory | back to summary |
|---|---|
| protected DecorableTSFactory(DecorableTSFactory src) | |
| _copy | back to summary |
|---|---|
| protected static <T> List | |
| _decorate | back to summary |
|---|---|
| protected InputStream _decorate(IOContext ioCtxt, InputStream in) throws JacksonException | |
| _decorate | back to summary |
|---|---|
| protected Reader _decorate(IOContext ioCtxt, Reader in) throws JacksonException | |
| _decorate | back to summary |
|---|---|
| protected DataInput _decorate(IOContext ioCtxt, DataInput in) throws JacksonException | |
| _decorate | back to summary |
|---|---|
| protected OutputStream _decorate(IOContext ioCtxt, OutputStream out) throws JacksonException | |
| _decorate | back to summary |
|---|---|
| protected Writer _decorate(IOContext ioCtxt, Writer out) throws JacksonException | |
| _decorate | back to summary |
|---|---|
| protected JsonGenerator _decorate(JsonGenerator result) | |
| getGeneratorDecorators | back to summary |
|---|---|
| public List | |
| getInputDecorator | back to summary |
|---|---|
| public InputDecorator getInputDecorator() | |
| getOutputDecorator | back to summary |
|---|---|
| public OutputDecorator getOutputDecorator() | |
| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected InputDecorator | _inputDecorator
Optional helper object that may decorate input sources, to do additional processing on input during parsing. |
| protected OutputDecorator | _outputDecorator
Optional helper object that may decorate output object, to do additional processing on output during content generation. |
| Access | Constructor and Description |
|---|---|
| protected | DecorableTSFBuilder(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int formatPF, int formatGF)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public List | |
| public InputDecorator | |
| public T | |
| public OutputDecorator | |
| public T |
| _generatorDecorators | back to summary |
|---|---|
| protected List<JsonGeneratorDecorator> _generatorDecorators | |
| _inputDecorator | back to summary |
|---|---|
| protected InputDecorator _inputDecorator Optional helper object that may decorate input sources, to do additional processing on input during parsing. | |
| _outputDecorator | back to summary |
|---|---|
| protected OutputDecorator _outputDecorator Optional helper object that may decorate output object, to do additional processing on output during content generation. | |
| DecorableTSFBuilder | back to summary |
|---|---|
| protected DecorableTSFBuilder(StreamReadConstraints src, StreamWriteConstraints swc, ErrorReportConfiguration erc, int formatPF, int formatGF) | |
| DecorableTSFBuilder | back to summary |
|---|---|
| protected DecorableTSFBuilder(DecorableTSFactory base) | |
| addDecorator | back to summary |
|---|---|
| public T addDecorator(JsonGeneratorDecorator dec) | |
| generatorDecorators | back to summary |
|---|---|
| public List | |
| inputDecorator | back to summary |
|---|---|
| public InputDecorator inputDecorator() | |
| inputDecorator | back to summary |
|---|---|
| public T inputDecorator(InputDecorator dec) | |
| outputDecorator | back to summary |
|---|---|
| public OutputDecorator outputDecorator() | |
| outputDecorator | back to summary |
|---|---|
| public T outputDecorator(OutputDecorator dec) | |