Class JsonBuilderFactoryImpl

java.lang.Object
org.glassfish.json.JsonBuilderFactoryImpl
All Implemented Interfaces:
JsonBuilderFactory

class JsonBuilderFactoryImpl extends Object implements JsonBuilderFactory
  • Field Details

  • Constructor Details

    • JsonBuilderFactoryImpl

      JsonBuilderFactoryImpl(BufferPool bufferPool)
  • Method Details

    • createObjectBuilder

      public JsonObjectBuilder createObjectBuilder()
      Description copied from interface: JsonBuilderFactory
      Creates a JsonObjectBuilder instance that is used to build JsonObject.
      Specified by:
      createObjectBuilder in interface JsonBuilderFactory
      Returns:
      a JSON object builder
    • createArrayBuilder

      public JsonArrayBuilder createArrayBuilder()
      Description copied from interface: JsonBuilderFactory
      Creates a JsonArrayBuilder instance that is used to build JsonArray
      Specified by:
      createArrayBuilder in interface JsonBuilderFactory
      Returns:
      a JSON array builder
    • getConfigInUse

      public Map<String,?> 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 interface JsonBuilderFactory
      Returns:
      a map of supported provider specific properties that are used to configure the builders. The map be empty but not null.