Package org.apache.johnzon.core
Class AbstractJsonFactory
- java.lang.Object
-
- org.apache.johnzon.core.AbstractJsonFactory
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JsonGeneratorFactoryImpl,JsonParserFactoryImpl,JsonReaderFactoryImpl,JsonWriterFactoryImpl
public abstract class AbstractJsonFactory extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBUFFER_STRATEGYstatic BufferStrategyDEFAULT_BUFFER_STRATEGYstatic StringENCODINGprotected Map<String,Object>internalConfig
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractJsonFactory(Map<String,?> config, Collection<String> supportedConfigKeys, Collection<String> defaultSupportedConfigKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetBool(String key, boolean defaultValue)protected BufferStrategygetBufferProvider()protected intgetInt(String key, int defaultValue)protected StringgetString(String key, String defaultValue)
-
-
-
Field Detail
-
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
-
BUFFER_STRATEGY
public static final String BUFFER_STRATEGY
- See Also:
- Constant Field Values
-
DEFAULT_BUFFER_STRATEGY
public static final BufferStrategy DEFAULT_BUFFER_STRATEGY
-
-
Constructor Detail
-
AbstractJsonFactory
protected AbstractJsonFactory(Map<String,?> config, Collection<String> supportedConfigKeys, Collection<String> defaultSupportedConfigKeys)
-
-