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 String
BUFFER_STRATEGY
static BufferStrategy
DEFAULT_BUFFER_STRATEGY
static String
ENCODING
protected Map<String,Object>
internalConfig
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractJsonFactory(Map<String,?> config, Collection<String> supportedConfigKeys, Collection<String> defaultSupportedConfigKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
getBool(String key, boolean defaultValue)
protected BufferStrategy
getBufferProvider()
protected int
getInt(String key, int defaultValue)
protected String
getString(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)
-
-