org.exoplatform.services.xml.serialize
Class XML2Bean
java.lang.Object
org.exoplatform.services.xml.serialize.XML2Bean
- All Implemented Interfaces:
- BeanMapper
public class XML2Bean
- extends java.lang.Object
- implements BeanMapper
Author : Nhu Dinh Thuan
Email:nhudinhthuan@yahoo.com
Apr 13, 2007
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML2Bean
public XML2Bean()
getInstance
public static final XML2Bean getInstance()
toBean
public <T> T toBean(java.lang.Class<T> clazz,
XMLDocument document)
throws java.lang.Exception
- Specified by:
toBean in interface BeanMapper
- Throws:
java.lang.Exception
toBean
public <T> T toBean(java.lang.Class<T> clazz,
XMLNode node)
throws java.lang.Exception
- Specified by:
toBean in interface BeanMapper
- Throws:
java.lang.Exception
toBean
public <T> void toBean(java.lang.Class<T> clazz,
T object,
XMLNode node)
throws java.lang.Exception
- Specified by:
toBean in interface BeanMapper
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.