Class JsonLocalDateTimeProcessor
- java.lang.Object
- 
- jadex.transformation.jsonserializer.processors.AbstractJsonProcessor
- 
- jadex.transformation.jsonserializer.processors.JsonLocalDateTimeProcessor
 
 
- 
- All Implemented Interfaces:
- ITraverseProcessor
 
 public class JsonLocalDateTimeProcessor extends AbstractJsonProcessor 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.Class<?>CHRONOLOCALDATECLASSLocalDate super interfacestatic java.lang.Class<?>CHRONOLOCALDATETIMECLASSLocalDateTime super interfacestatic java.lang.Class<?>LOCALTIMECLASSLocal time class
 - 
Constructor SummaryConstructors Constructor Description JsonLocalDateTimeProcessor()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisApplicable(java.lang.Object object, java.lang.reflect.Type type, java.lang.ClassLoader targetcl, JsonReadContext context)Test if the processor is applicable.protected booleanisApplicable(java.lang.Object object, java.lang.reflect.Type type, java.lang.ClassLoader targetcl, JsonWriteContext context)Test if the processor is applicable.protected java.lang.ObjectreadObject(java.lang.Object object, java.lang.reflect.Type type, Traverser traverser, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, java.lang.ClassLoader targetcl, JsonReadContext context)Process an object.protected java.lang.ObjectwriteObject(java.lang.Object object, java.lang.reflect.Type type, Traverser traverser, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, java.lang.ClassLoader targetcl, JsonWriteContext wr)Process an object.- 
Methods inherited from class jadex.transformation.jsonserializer.processors.AbstractJsonProcessorisApplicable, process
 
- 
 
- 
- 
- 
Field Detail- 
CHRONOLOCALDATECLASSpublic static final java.lang.Class<?> CHRONOLOCALDATECLASS LocalDate super interface
 - 
LOCALTIMECLASSpublic static final java.lang.Class<?> LOCALTIMECLASS Local time class
 - 
CHRONOLOCALDATETIMECLASSpublic static final java.lang.Class<?> CHRONOLOCALDATETIMECLASS LocalDateTime super interface
 
- 
 - 
Method Detail- 
isApplicableprotected boolean isApplicable(java.lang.Object object, java.lang.reflect.Type type, java.lang.ClassLoader targetcl, JsonReadContext context)Test if the processor is applicable.- Specified by:
- isApplicablein class- AbstractJsonProcessor
- Parameters:
- object- The object.
- targetcl- If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
- Returns:
- True, if is applicable.
 
 - 
isApplicableprotected boolean isApplicable(java.lang.Object object, java.lang.reflect.Type type, java.lang.ClassLoader targetcl, JsonWriteContext context)Test if the processor is applicable.- Specified by:
- isApplicablein class- AbstractJsonProcessor
- Parameters:
- object- The object.
- targetcl- If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
- Returns:
- True, if is applicable.
 
 - 
readObjectprotected java.lang.Object readObject(java.lang.Object object, java.lang.reflect.Type type, Traverser traverser, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, java.lang.ClassLoader targetcl, JsonReadContext context)Process an object.- Specified by:
- readObjectin class- AbstractJsonProcessor
- Parameters:
- object- The object.
- targetcl- If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
- Returns:
- The processed object.
 
 - 
writeObjectprotected java.lang.Object writeObject(java.lang.Object object, java.lang.reflect.Type type, Traverser traverser, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, java.lang.ClassLoader targetcl, JsonWriteContext wr)Process an object.- Specified by:
- writeObjectin class- AbstractJsonProcessor
- Parameters:
- object- The object.
- targetcl- If not null, the traverser should make sure that the result object is compatible with the class loader, e.g. by cloning the object using the class loaded from the target class loader.
- Returns:
- The processed object.
 
 
- 
 
-