public class JsonbContext extends Object
| Constructor | Description |
|---|---|
JsonbContext(javax.json.bind.JsonbConfig jsonbConfig,
javax.json.spi.JsonProvider jsonProvider) |
Creates and initialize context.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addProcessedObject(Object object) |
|
boolean |
genericComponentsPresent() |
Flag for searching for generic serializers and adapters in runtime.
|
AnnotationIntrospector |
getAnnotationIntrospector() |
Gets component for annotation parsing.
|
JsonbComponentInstanceCreator |
getComponentInstanceCreator() |
Implementation creating instances of user components used by JSONB, such as adapters and strategies.
|
ComponentMatcher |
getComponentMatcher() |
Component matcher for lookup of (de)serializers and adapters.
|
javax.json.bind.JsonbConfig |
getConfig() |
Gets
JsonbConfig. |
JsonbConfigProperties |
getConfigProperties() |
|
javax.json.spi.JsonProvider |
getJsonProvider() |
Gets JSONP provider.
|
MappingContext |
getMappingContext() |
Gets mapping context.
|
void |
registerGenericComponentFlag() |
Set flag for searching for generic serializers and adapters in runtime.
|
boolean |
removeProcessedObject(Object object) |
public JsonbContext(javax.json.bind.JsonbConfig jsonbConfig,
javax.json.spi.JsonProvider jsonProvider)
jsonbConfig - jsonb jsonbConfig not nulljsonProvider - provider of JSONPpublic javax.json.bind.JsonbConfig getConfig()
JsonbConfig.public MappingContext getMappingContext()
public javax.json.spi.JsonProvider getJsonProvider()
public JsonbComponentInstanceCreator getComponentInstanceCreator()
public ComponentMatcher getComponentMatcher()
public AnnotationIntrospector getAnnotationIntrospector()
public boolean genericComponentsPresent()
public void registerGenericComponentFlag()
public JsonbConfigProperties getConfigProperties()
public boolean addProcessedObject(Object object)
public boolean removeProcessedObject(Object object)
Copyright © 2018 Oracle Corporation. All rights reserved.