|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.writer.AutoBeanWriter<M,java.lang.String>
com.sencha.gxt.data.shared.writer.JsonWriter<M>
M - the starting data format for the model to be inputedpublic class JsonWriter<M>
An AutoBeanWriter that writes an auto bean into Json.
| Constructor Summary | |
|---|---|
JsonWriter(AutoBeanFactory factory,
java.lang.Class<M> clazz)
Creates a new JSON writer for auto beans. |
|
| Method Summary | |
|---|---|
java.lang.String |
write(M model)
Converts a source model to its equivalent target type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonWriter(AutoBeanFactory factory,
java.lang.Class<M> clazz)
factory - the auto bean factoryclazz - the target class| Method Detail |
|---|
public java.lang.String write(M model)
DataWriter
model - the source model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||