org.tinygroup.convert.objectxml.xstream
Class XmlToObject<T>

java.lang.Object
  extended by org.tinygroup.convert.objectxml.xstream.XmlToObject<T>
All Implemented Interfaces:
Converter<String,List<T>>

public class XmlToObject<T>
extends Object
implements Converter<String,List<T>>


Constructor Summary
XmlToObject(Class<T> rootClass, String rootNodeName)
           
 
Method Summary
 List<T> convert(String inputData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlToObject

public XmlToObject(Class<T> rootClass,
                   String rootNodeName)
Method Detail

convert

public List<T> convert(String inputData)
                throws ConvertException
Specified by:
convert in interface Converter<String,List<T>>
Throws:
ConvertException


Copyright © 2006–2015 TinyGroup. All rights reserved.