|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.plugins.s11n.json.ResSerializer<T>
ccc.plugins.s11n.json.ResourceSerializer<Template>
ccc.plugins.s11n.json.TemplateSerializer
public class TemplateSerializer
Serializer for Template
s.
Constructor Summary | |
---|---|
TemplateSerializer()
|
Method Summary | |
---|---|
protected Template |
createObject()
Create a new instance of type T. |
Template |
read(Json json)
Deserialize from a representation. |
Json |
write(Json json,
Template instance)
Serialize to representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateSerializer()
Method Detail |
---|
public Template read(Json json)
read
in interface Serializer<Template>
read
in class ResourceSerializer<Template>
json
- The wire representation.
protected Template createObject()
createObject
in class ResSerializer<Template>
public Json write(Json json, Template instance)
write
in interface Serializer<Template>
write
in class ResourceSerializer<Template>
json
- The wire representation.instance
- The object to serialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |