Class CBORFactoryBuilder
- java.lang.Object
-
- com.fasterxml.jackson.core.TSFBuilder<CBORFactory,CBORFactoryBuilder>
-
- com.fasterxml.jackson.dataformat.cbor.CBORFactoryBuilder
-
public class CBORFactoryBuilder extends com.fasterxml.jackson.core.TSFBuilder<CBORFactory,CBORFactoryBuilder>
TSFBuilderimplementation for constructingCBORFactoryinstances.- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description protected int_formatGeneratorFeaturesSet ofCBORGenerator.Features enabled, as bitmask.protected int_formatParserFeaturesSet ofCBORParser.Features enabled, as bitmask.-
Fields inherited from class com.fasterxml.jackson.core.TSFBuilder
_errorReportConfiguration, _factoryFeatures, _generatorDecorators, _inputDecorator, _outputDecorator, _recyclerPool, _streamReadConstraints, _streamReadFeatures, _streamWriteConstraints, _streamWriteFeatures, DEFAULT_FACTORY_FEATURE_FLAGS, DEFAULT_GENERATOR_FEATURE_FLAGS, DEFAULT_PARSER_FEATURE_FLAGS
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCBORFactoryBuilder()CBORFactoryBuilder(CBORFactory base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CBORFactorybuild()CBORFactoryBuilderconfigure(CBORGenerator.Feature f, boolean state)CBORFactoryBuilderconfigure(CBORParser.Feature f, boolean state)CBORFactoryBuilderdisable(CBORGenerator.Feature f)CBORFactoryBuilderdisable(CBORGenerator.Feature first, CBORGenerator.Feature... other)CBORFactoryBuilderdisable(CBORParser.Feature f)CBORFactoryBuilderdisable(CBORParser.Feature first, CBORParser.Feature... other)CBORFactoryBuilderenable(CBORGenerator.Feature f)CBORFactoryBuilderenable(CBORGenerator.Feature first, CBORGenerator.Feature... other)CBORFactoryBuilderenable(CBORParser.Feature f)CBORFactoryBuilderenable(CBORParser.Feature first, CBORParser.Feature... other)intformatGeneratorFeaturesMask()intformatParserFeaturesMask()-
Methods inherited from class com.fasterxml.jackson.core.TSFBuilder
_copy, _legacyDisable, _legacyDisable, _legacyEnable, _legacyEnable, _this, addDecorator, configure, configure, configure, configure, configure, disable, disable, disable, disable, disable, disable, disable, disable, disable, enable, enable, enable, enable, enable, enable, enable, enable, enable, errorReportConfiguration, factoryFeaturesMask, inputDecorator, inputDecorator, outputDecorator, outputDecorator, recyclerPool, recyclerPool, streamReadConstraints, streamReadFeatures, streamWriteConstraints, streamWriteFeatures
-
-
-
-
Field Detail
-
_formatParserFeatures
protected int _formatParserFeatures
Set ofCBORParser.Features enabled, as bitmask.
-
_formatGeneratorFeatures
protected int _formatGeneratorFeatures
Set ofCBORGenerator.Features enabled, as bitmask.
-
-
Constructor Detail
-
CBORFactoryBuilder
protected CBORFactoryBuilder()
-
CBORFactoryBuilder
public CBORFactoryBuilder(CBORFactory base)
-
-
Method Detail
-
enable
public CBORFactoryBuilder enable(CBORParser.Feature f)
-
enable
public CBORFactoryBuilder enable(CBORParser.Feature first, CBORParser.Feature... other)
-
disable
public CBORFactoryBuilder disable(CBORParser.Feature f)
-
disable
public CBORFactoryBuilder disable(CBORParser.Feature first, CBORParser.Feature... other)
-
configure
public CBORFactoryBuilder configure(CBORParser.Feature f, boolean state)
-
enable
public CBORFactoryBuilder enable(CBORGenerator.Feature f)
-
enable
public CBORFactoryBuilder enable(CBORGenerator.Feature first, CBORGenerator.Feature... other)
-
disable
public CBORFactoryBuilder disable(CBORGenerator.Feature f)
-
disable
public CBORFactoryBuilder disable(CBORGenerator.Feature first, CBORGenerator.Feature... other)
-
configure
public CBORFactoryBuilder configure(CBORGenerator.Feature f, boolean state)
-
formatParserFeaturesMask
public int formatParserFeaturesMask()
-
formatGeneratorFeaturesMask
public int formatGeneratorFeaturesMask()
-
build
public CBORFactory build()
- Specified by:
buildin classcom.fasterxml.jackson.core.TSFBuilder<CBORFactory,CBORFactoryBuilder>
-
-