Package jadex.binary
Class LocalDateTimeCodec
- java.lang.Object
- 
- jadex.binary.AbstractCodec
- 
- jadex.binary.LocalDateTimeCodec
 
 
- 
- All Implemented Interfaces:
- IDecoderHandler,- ITraverseProcessor
 
 public class LocalDateTimeCodec extends AbstractCodec 
- 
- 
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 LocalDateTimeCodec()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanReference(java.lang.Object object, java.lang.Class<?> clazz, IEncodingContext ec)Test if the codec allows referencing.java.lang.ObjectcreateObject(java.lang.Class<?> clazz, IDecodingContext context)Creates the object during decoding.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)Encode the object.booleanisApplicable(java.lang.Class<?> clazz)Tests if the decoder can decode the class.- 
Methods inherited from class jadex.binary.AbstractCodecdecode, decodeSubObjects, isApplicable, isFixedFrame, process, recordKnownDecodedObject
 
- 
 
- 
- 
- 
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- 
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)Encode the object.- Specified by:
- encodein class- AbstractCodec
 
 - 
createObjectpublic java.lang.Object createObject(java.lang.Class<?> clazz, IDecodingContext context)Creates the object during decoding.- Specified by:
- createObjectin class- AbstractCodec
- Parameters:
- clazz- The class of the object.
- context- The decoding context.
- Returns:
- The created object.
 
 - 
isApplicablepublic boolean isApplicable(java.lang.Class<?> clazz) Tests if the decoder can decode the class.- Specified by:
- isApplicablein interface- IDecoderHandler
- Specified by:
- isApplicablein class- AbstractCodec
- Parameters:
- clazz- The class.
- Returns:
- True, if the decoder can decode this class.
 
 - 
canReferencepublic boolean canReference(java.lang.Object object, java.lang.Class<?> clazz, IEncodingContext ec)Test if the codec allows referencing.- Overrides:
- canReferencein class- AbstractCodec
- Parameters:
- object- The object.
- clazz- The class.
- ec- The encoding context.
- Returns:
- True, if the codec allows referencing.
 
 
- 
 
-