|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Content2BeanProcessor
Transforms nodes to beans or maps. The transformer is use to resolve classes or to instantiate beans.
Nested Class Summary | |
---|---|
static class |
Content2BeanProcessor.Factory
Creates a singleton instance of the content2bean processor. |
Method Summary | |
---|---|
Object |
setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer)
Similar to toBean() but uses a passed bean as the root bean. |
Object |
toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer)
Transforms the node to a bean using the passed transformer. |
Method Detail |
---|
Object toBean(Content node, boolean recursive, Content2BeanTransformer transformer) throws Content2BeanException
Content2BeanException
Object setProperties(Object bean, Content node, boolean recursive, Content2BeanTransformer transformer) throws Content2BeanException
toBean()
but uses a passed bean as the root bean.
Content2BeanException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |