|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcc.plural.jsonij.marshal.JSONCodec<D>
cc.plural.jsonij.marshal.codec.DateJSONCodec<D>
public class DateJSONCodec<D extends Date>
JSON codec implementation for java.util.Date. Encodes a java.util.Date instance into a JSON Object with two attributes,
| Constructor Summary | |
|---|---|
DateJSONCodec()
|
|
| Method Summary | |
|---|---|
DateJSONCodec<? extends Date> |
createInstance()
Helper method to create the specific internalType of the DateJSONCodec. |
D |
decode(Value value)
The decode method for the DateJSONCodec. |
Value |
encode(D d)
The encode method for the DateJSONCodec. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateJSONCodec()
| Method Detail |
|---|
public DateJSONCodec<? extends Date> createInstance()
createInstance in class JSONCodec<D extends Date>public Value encode(D d)
encode in class JSONCodec<D extends Date>d - Accepts any class D that extends java.util.Date
public D decode(Value value)
decode in class JSONCodec<D extends Date>value - The JSON Value to be decoded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||