Package com.fasterxml.jackson.core
Class TSFBuilder<F extends JsonFactory,B extends TSFBuilder<F,B>>
- java.lang.Object
-
- com.fasterxml.jackson.core.TSFBuilder<F,B>
-
- Direct Known Subclasses:
JsonFactoryBuilder
public abstract class TSFBuilder<F extends JsonFactory,B extends TSFBuilder<F,B>> extends java.lang.Object
Since 2.10, Builder class is offered for creating token stream factories with difference configurations: with 3.x they will be fully immutable.- Since:
- 2.10
-
-
Method Summary
-
-
-
Method Detail
-
factoryFeaturesMask
public int factoryFeaturesMask()
-
streamReadFeatures
public int streamReadFeatures()
-
streamWriteFeatures
public int streamWriteFeatures()
-
inputDecorator
public InputDecorator inputDecorator()
-
outputDecorator
public OutputDecorator outputDecorator()
-
enable
public B enable(JsonFactory.Feature f)
-
disable
public B disable(JsonFactory.Feature f)
-
configure
public B configure(JsonFactory.Feature f, boolean state)
-
enable
public B enable(StreamReadFeature f)
-
enable
public B enable(StreamReadFeature first, StreamReadFeature... other)
-
disable
public B disable(StreamReadFeature f)
-
disable
public B disable(StreamReadFeature first, StreamReadFeature... other)
-
configure
public B configure(StreamReadFeature f, boolean state)
-
enable
public B enable(StreamWriteFeature f)
-
enable
public B enable(StreamWriteFeature first, StreamWriteFeature... other)
-
disable
public B disable(StreamWriteFeature f)
-
disable
public B disable(StreamWriteFeature first, StreamWriteFeature... other)
-
configure
public B configure(StreamWriteFeature f, boolean state)
-
enable
public B enable(JsonReadFeature f)
-
enable
public B enable(JsonReadFeature first, JsonReadFeature... other)
-
disable
public B disable(JsonReadFeature f)
-
disable
public B disable(JsonReadFeature first, JsonReadFeature... other)
-
configure
public B configure(JsonReadFeature f, boolean state)
-
enable
public B enable(JsonWriteFeature f)
-
enable
public B enable(JsonWriteFeature first, JsonWriteFeature... other)
-
disable
public B disable(JsonWriteFeature f)
-
disable
public B disable(JsonWriteFeature first, JsonWriteFeature... other)
-
configure
public B configure(JsonWriteFeature f, boolean state)
-
inputDecorator
public B inputDecorator(InputDecorator dec)
-
outputDecorator
public B outputDecorator(OutputDecorator dec)
-
build
public abstract F build()
Method for constructing actualTokenStreamFactory
instance, given configuration.- Returns:
TokenStreamFactory
build based on current configuration
-
-