|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Content2BeanTransformer | |
---|---|
info.magnolia.content2bean | |
info.magnolia.content2bean.impl |
Uses of Content2BeanTransformer in info.magnolia.content2bean |
---|
Classes in info.magnolia.content2bean that implement Content2BeanTransformer | |
---|---|
static class |
Content2BeanUtil.DefaultClassTransformer
Provide a default class. |
static class |
Content2BeanUtil.ToMapTransformer
A Content2BeanTransformer transforming all nodes to Maps. |
Methods in info.magnolia.content2bean that return Content2BeanTransformer | |
---|---|
static Content2BeanTransformer |
Content2BeanUtil.getContent2BeanTransformer()
Deprecated. since 4.5, use IoC. |
static Content2BeanTransformer |
Content2BeanTransformer.Factory.getDefaultTransformer()
Deprecated. |
Content2BeanTransformer |
TypeDescriptor.getTransformer()
Can return a custom transformer. |
Methods in info.magnolia.content2bean with parameters of type Content2BeanTransformer | |
---|---|
static Object |
Content2BeanUtil.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer)
Deprecated. since 4.5 - use Content2Bean |
static Object |
Content2BeanUtil.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. since 4.5 - use Content2Bean |
Object |
Content2BeanProcessor.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. Similar to toBean() but uses a passed bean as the root bean. |
void |
TypeDescriptor.setTransformer(Content2BeanTransformer transformer)
|
static Object |
Content2BeanUtil.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer)
Deprecated. since 4.5 use Content2Bean
TODO -- this method has a bunch of usage points |
static Object |
Content2BeanUtil.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. since 4.5 use Content2Bean
TODO -- this method has a bunch of usage points |
Object |
Content2BeanProcessor.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated. Transforms the node to a bean using the passed transformer and component provider. |
Uses of Content2BeanTransformer in info.magnolia.content2bean.impl |
---|
Classes in info.magnolia.content2bean.impl that implement Content2BeanTransformer | |
---|---|
class |
CollectionPropertyHidingTransformer
A transformer which "hides" a collection node. |
class |
Content2BeanTransformerImpl
Concrete implementation using reflection and adder methods. |
Methods in info.magnolia.content2bean.impl that return Content2BeanTransformer | |
---|---|
protected Content2BeanTransformer |
TypeMappingImpl.findTransformerByNamingConvention(Class<?> beanClass)
Deprecated. since 4.5, transformers should be explicitly registered via the module descriptor. |
protected Content2BeanTransformer |
TypeMappingImpl.findTransformerViaProperty(Class<?> beanClass)
Deprecated. since 4.5, transformers should be explicitly registered via the module descriptor. |
protected Content2BeanTransformer |
TypeMappingImpl.instantiateTransformer(Class<?> beanClass,
String transformerClassName)
|
protected Content2BeanTransformer |
Content2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Content2BeanTransformer transformer)
|
Methods in info.magnolia.content2bean.impl with parameters of type Content2BeanTransformer | |
---|---|
protected Content2BeanTransformer |
Content2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Content2BeanTransformer transformer)
|
protected void |
Content2BeanProcessorImpl.setProperties(Map<String,Object> values,
Content2BeanTransformer transformer,
TransformationState state)
Populates the properties of the bean with values from the map. |
Object |
Content2BeanProcessorImpl.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
|
Object |
Content2BeanProcessorImpl.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
|
protected Object |
Content2BeanProcessorImpl.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
|
protected Map<String,Object> |
Content2BeanProcessorImpl.toMap(Content node,
boolean recursive,
Content2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
Transforms the children of provided content into a map. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |