Class JsonSimpleDateFormatProcessor
- java.lang.Object
- 
- jadex.transformation.jsonserializer.processors.AbstractJsonProcessor
- 
- jadex.transformation.jsonserializer.processors.JsonBeanProcessor
- 
- jadex.transformation.jsonserializer.processors.JsonSimpleDateFormatProcessor
 
 
 
- 
- All Implemented Interfaces:
- ITraverseProcessor
 
 public class JsonSimpleDateFormatProcessor extends JsonBeanProcessor 
- 
- 
Field Summary- 
Fields inherited from class jadex.transformation.jsonserializer.processors.JsonBeanProcessorintro
 
- 
 - 
Constructor SummaryConstructors Constructor Description JsonSimpleDateFormatProcessor()
 - 
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 voidwriteProperties(java.lang.Object object, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, Traverser traverser, java.lang.ClassLoader targetcl, JsonWriteContext wr, IBeanIntrospector intro, boolean first)Add pattern property from toPattern method- 
Methods inherited from class jadex.transformation.jsonserializer.processors.JsonBeanProcessorconvertBasicType, getReturnObject, readProperties, writeObject
 - 
Methods inherited from class jadex.transformation.jsonserializer.processors.AbstractJsonProcessorisApplicable, process
 
- 
 
- 
- 
- 
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.- Overrides:
- isApplicablein class- JsonBeanProcessor
- 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.- Overrides:
- isApplicablein class- JsonBeanProcessor
- 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.- Overrides:
- readObjectin class- JsonBeanProcessor
- 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.
 
 - 
writePropertiesprotected void writeProperties(java.lang.Object object, java.util.List<ITraverseProcessor> conversionprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, Traverser traverser, java.lang.ClassLoader targetcl, JsonWriteContext wr, IBeanIntrospector intro, boolean first)Add pattern property from toPattern method- Overrides:
- writePropertiesin class- JsonBeanProcessor
 
 
- 
 
-