Package jadex.binary
Class SimpleDateFormatCodec
- java.lang.Object
- 
- jadex.binary.AbstractCodec
- 
- jadex.binary.BeanCodec
- 
- jadex.binary.SimpleDateFormatCodec
 
 
 
- 
- All Implemented Interfaces:
- IDecoderHandler,- ITraverseProcessor
 
 public class SimpleDateFormatCodec extends BeanCodec Codec for encoding and decoding java.text.SimpleDateFormat objects.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IBeanIntrospectorintroBean introspector for inspecting beans.- 
Fields inherited from class jadex.binary.BeanCodecINTROSPECTOR_CACHE_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description SimpleDateFormatCodec()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectdecode(java.lang.Class<?> clazz, IDecodingContext context)Add pattern property with applyPattern method.java.lang.Objectencode(java.lang.Object object, java.lang.Class<?> clazz, java.util.List<ITraverseProcessor> preprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, Traverser traverser, java.lang.ClassLoader targetcl, IEncodingContext ec)Add pattern property from toPattern method.booleanisApplicable(java.lang.Class<?> clazz)Tests if the decoder can decode the class.- 
Methods inherited from class jadex.binary.BeanCodeccreateObject, decodeSubObjects, isApplicable, readBeanProperties, writeBeanProperties
 - 
Methods inherited from class jadex.binary.AbstractCodeccanReference, isApplicable, isFixedFrame, process, recordKnownDecodedObject
 
- 
 
- 
- 
- 
Field Detail- 
introprotected IBeanIntrospector intro Bean introspector for inspecting beans.
 
- 
 - 
Method Detail- 
isApplicablepublic boolean isApplicable(java.lang.Class<?> clazz) Tests if the decoder can decode the class.- Specified by:
- isApplicablein interface- IDecoderHandler
- Overrides:
- isApplicablein class- BeanCodec
- Parameters:
- clazz- The class.
- Returns:
- True, if the decoder can decode this class.
 
 - 
decodepublic java.lang.Object decode(java.lang.Class<?> clazz, IDecodingContext context)Add pattern property with applyPattern method.- Specified by:
- decodein interface- IDecoderHandler
- Overrides:
- decodein class- AbstractCodec
- Parameters:
- clazz- The class of the object.
- context- The decoding context.
- Returns:
- The decoded object.
 
 - 
encodepublic java.lang.Object encode(java.lang.Object object, java.lang.Class<?> clazz, java.util.List<ITraverseProcessor> preprocessors, java.util.List<ITraverseProcessor> processors, Traverser.MODE mode, Traverser traverser, java.lang.ClassLoader targetcl, IEncodingContext ec)Add pattern property from toPattern method.
 
- 
 
-