Package | Description |
---|---|
info.magnolia.content2bean | |
info.magnolia.content2bean.impl |
Modifier and Type | Class and Description |
---|---|
static class |
Content2BeanUtil.DefaultClassTransformer
Deprecated.
Provide a default class.
|
static class |
Content2BeanUtil.ToMapTransformer
Deprecated.
A
Content2BeanTransformer transforming all nodes to Maps. |
Modifier and Type | Method and Description |
---|---|
static Content2BeanTransformer |
Content2BeanUtil.getContent2BeanTransformer()
Deprecated.
since 4.5, use IoC.
|
static Content2BeanTransformer |
Content2BeanTransformer.Factory.getDefaultTransformer()
Deprecated.
|
Content2BeanTransformer |
TypeDescriptor.getTransformer()
Deprecated.
Can return a custom transformer.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Content2BeanUtil.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer)
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. |
static Object |
Content2BeanUtil.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated.
since 4.5 - use
Content2Bean |
void |
TypeDescriptor.setTransformer(Content2BeanTransformer transformer)
Deprecated.
|
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 |
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.
|
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 |
Modifier and Type | Class and Description |
---|---|
class |
CollectionPropertyHidingTransformer
Deprecated.
since 5.2.4 - use
CollectionPropertyHidingTransformer instead. |
class |
Content2BeanTransformerImpl
Deprecated.
since 5.2.4 - use
Node2BeanTransformerImpl instead. |
Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
protected Content2BeanTransformer |
Content2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Content2BeanTransformer transformer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Content2BeanTransformer |
Content2BeanProcessorImpl.resolveTransformer(TypeDescriptor type,
Content2BeanTransformer transformer)
Deprecated.
|
protected void |
Content2BeanProcessorImpl.setProperties(Map<String,Object> values,
Content2BeanTransformer transformer,
TransformationState state)
Deprecated.
Populates the properties of the bean with values from the map.
|
Object |
Content2BeanProcessorImpl.setProperties(Object bean,
Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated.
|
Object |
Content2BeanProcessorImpl.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
ComponentProvider componentProvider)
Deprecated.
|
protected Object |
Content2BeanProcessorImpl.toBean(Content node,
boolean recursive,
Content2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
Deprecated.
|
protected Map<String,Object> |
Content2BeanProcessorImpl.toMap(Content node,
boolean recursive,
Content2BeanTransformer transformer,
TransformationState state,
ComponentProvider componentProvider)
Deprecated.
Transforms the children of provided content into a map.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.