|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Content2Bean
.
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
Deprecated. since 4.5, we should use IoC. However, we'll leave the processor as is for now. |
Method Summary | |
---|---|
Object |
setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. Similar to toBean() but uses a passed bean as the root bean. |
Object |
toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. Transforms the node to a bean using the passed transformer and component provider. |
Method Detail |
---|
Object toBean(Content node, boolean recursive, Content2BeanTransformer transformer, ComponentProvider componentProvider) throws Content2BeanException
Content2BeanException
Object setProperties(Object bean, Content node, boolean recursive, Content2BeanTransformer transformer, ComponentProvider componentProvider) 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 |