com.sencha.gxt.data.client.loader
Class XmlReader<M,Base>
java.lang.Object
com.sencha.gxt.data.shared.loader.AbstractAutoBeanReader<M,Base,java.lang.String>
com.sencha.gxt.data.client.loader.XmlReader<M,Base>
- Type Parameters:
M - the model type to return from the readerBase - an intermediate type that represents the data passed in as XML.
May be the same as M
- All Implemented Interfaces:
- DataReader<M,java.lang.String>
public class XmlReader<M,Base>
- extends AbstractAutoBeanReader<M,Base,java.lang.String>
A DataReader implementation that reads XML data and build it
into the given AutoBean type, using other types from the given
factory.
These AutoBean interfaces should use
AutoBean.PropertyName to
specify the path to properties. Collections can be referenced by specifying
the path to the items.
Subclasses can override AbstractAutoBeanReader.createReturnData(Object, Object) to control
what object is returned by the reader.
|
Constructor Summary |
XmlReader(AutoBeanFactory factory,
java.lang.Class<Base> rootBeanType)
Creates a new XML reader that can turn XML into an AutoBean. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlReader
public XmlReader(AutoBeanFactory factory,
java.lang.Class<Base> rootBeanType)
- Creates a new XML reader that can turn XML into an AutoBean.
- Parameters:
factory - an auto bean factory capable of encoding objects of type MrootBeanType - AutoBean based type to represent the base data
Copyright © 2012. All Rights Reserved.