Package org.apache.johnzon.core
Class JsonWriterFactoryImpl
- java.lang.Object
-
- org.apache.johnzon.core.AbstractJsonFactory
-
- org.apache.johnzon.core.JsonWriterFactoryImpl
-
- All Implemented Interfaces:
jakarta.json.JsonWriterFactory
,Serializable
class JsonWriterFactoryImpl extends AbstractJsonFactory implements jakarta.json.JsonWriterFactory
-
-
Field Summary
Fields Modifier and Type Field Description private jakarta.json.stream.JsonGeneratorFactory
factory
(package private) static Collection<String>
SUPPORTED_CONFIG_KEYS
-
Fields inherited from class org.apache.johnzon.core.AbstractJsonFactory
BUFFER_STRATEGY, DEFAULT_BUFFER_STRATEGY, ENCODING, internalConfig
-
-
Constructor Summary
Constructors Constructor Description JsonWriterFactoryImpl(Map<String,?> config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.json.JsonWriter
createWriter(OutputStream out)
jakarta.json.JsonWriter
createWriter(OutputStream out, Charset charset)
jakarta.json.JsonWriter
createWriter(Writer writer)
Map<String,?>
getConfigInUse()
-
Methods inherited from class org.apache.johnzon.core.AbstractJsonFactory
getBool, getBufferProvider, getInt, getString
-
-
-
-
Field Detail
-
SUPPORTED_CONFIG_KEYS
static final Collection<String> SUPPORTED_CONFIG_KEYS
-
factory
private final jakarta.json.stream.JsonGeneratorFactory factory
-
-
Method Detail
-
createWriter
public jakarta.json.JsonWriter createWriter(Writer writer)
- Specified by:
createWriter
in interfacejakarta.json.JsonWriterFactory
-
createWriter
public jakarta.json.JsonWriter createWriter(OutputStream out)
- Specified by:
createWriter
in interfacejakarta.json.JsonWriterFactory
-
createWriter
public jakarta.json.JsonWriter createWriter(OutputStream out, Charset charset)
- Specified by:
createWriter
in interfacejakarta.json.JsonWriterFactory
-
-