Package org.eclipse.yasson.internal
Class ProcessingContext
- java.lang.Object
-
- org.eclipse.yasson.internal.ProcessingContext
-
- Direct Known Subclasses:
Marshaller
,Unmarshaller
public abstract class ProcessingContext extends Object
Jsonb processing (serializing/deserializing) context. Instance is thread bound (in contrast toJsonbContext
.- Author:
- Roman Grigoriadi
-
-
Field Summary
Fields Modifier and Type Field Description protected JsonbContext
jsonbContext
-
Constructor Summary
Constructors Constructor Description ProcessingContext(JsonbContext jsonbContext)
Parent instance for marshaller and unmarshaller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addProcessedObject(Object object)
JsonbContext
getJsonbContext()
Jsonb context.MappingContext
getMappingContext()
Mapping context.boolean
removeProcessedObject(Object object)
-
-
-
Field Detail
-
jsonbContext
protected final JsonbContext jsonbContext
-
-
Constructor Detail
-
ProcessingContext
public ProcessingContext(JsonbContext jsonbContext)
Parent instance for marshaller and unmarshaller.- Parameters:
jsonbContext
- context of Jsonb
-
-
Method Detail
-
getJsonbContext
public JsonbContext getJsonbContext()
Jsonb context.- Returns:
- jsonb context
-
getMappingContext
public MappingContext getMappingContext()
Mapping context.- Returns:
- mapping context
-
addProcessedObject
public boolean addProcessedObject(Object object)
-
removeProcessedObject
public boolean removeProcessedObject(Object object)
-
-