com.sencha.gxt.data.shared.writer
Class AutoBeanWriter<M,D>

java.lang.Object
  extended by com.sencha.gxt.data.shared.writer.AutoBeanWriter<M,D>
Type Parameters:
M - the starting data format for the model to be inputed
D - the data format to be used, usually to send the initial data over the wire
All Implemented Interfaces:
DataWriter<M,D>
Direct Known Subclasses:
JsonWriter, UrlEncodingWriter, XmlWriter

public abstract class AutoBeanWriter<M,D>
extends Object
implements DataWriter<M,D>

Abstract DataWriter which writes out objects that can be wrapped as autobeans.


Constructor Summary
AutoBeanWriter(com.google.web.bindery.autobean.shared.AutoBeanFactory factory, Class<M> clazz)
          Creates a new auto bean writer.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sencha.gxt.data.shared.writer.DataWriter
write
 

Constructor Detail

AutoBeanWriter

public AutoBeanWriter(com.google.web.bindery.autobean.shared.AutoBeanFactory factory,
                      Class<M> clazz)
Creates a new auto bean writer.

Parameters:
factory - the auto bean factory
clazz - the target class


Copyright © 2012. All Rights Reserved.