info.magnolia.content2bean
Interface Content2BeanProcessor

All Known Implementing Classes:
Content2BeanProcessorImpl

Deprecated. since 4.5, use Content2Bean.

public interface Content2BeanProcessor

Transforms nodes to beans or maps. The transformer is use to resolve classes or to instantiate beans.

Version:
$Id$
Author:
philipp

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

toBean

Object toBean(Content node,
              boolean recursive,
              Content2BeanTransformer transformer,
              ComponentProvider componentProvider)
              throws Content2BeanException
Deprecated. 
Transforms the node to a bean using the passed transformer and component provider.

Throws:
Content2BeanException

setProperties

Object setProperties(Object bean,
                     Content node,
                     boolean recursive,
                     Content2BeanTransformer transformer,
                     ComponentProvider componentProvider)
                     throws Content2BeanException
Deprecated. 
Similar to toBean() but uses a passed bean as the root bean.

Throws:
Content2BeanException


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.