Package org.glassfish.json
Class JsonBuilderFactoryImpl
java.lang.Object
org.glassfish.json.JsonBuilderFactoryImpl
- All Implemented Interfaces:
JsonBuilderFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates aJsonArrayBuilder
instance that is used to buildJsonArray
Creates aJsonObjectBuilder
instance that is used to buildJsonObject
.Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON builders.
-
Field Details
-
config
-
bufferPool
-
-
Constructor Details
-
JsonBuilderFactoryImpl
JsonBuilderFactoryImpl(BufferPool bufferPool)
-
-
Method Details
-
createObjectBuilder
Description copied from interface:JsonBuilderFactory
Creates aJsonObjectBuilder
instance that is used to buildJsonObject
.- Specified by:
createObjectBuilder
in interfaceJsonBuilderFactory
- Returns:
- a JSON object builder
-
createArrayBuilder
Description copied from interface:JsonBuilderFactory
Creates aJsonArrayBuilder
instance that is used to buildJsonArray
- Specified by:
createArrayBuilder
in interfaceJsonBuilderFactory
- Returns:
- a JSON array builder
-
getConfigInUse
Description copied from interface:JsonBuilderFactory
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON builders. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.- Specified by:
getConfigInUse
in interfaceJsonBuilderFactory
- Returns:
- a map of supported provider specific properties that are used to configure the builders. The map be empty but not null.
-