Node2BeanTransformer
instead.@Deprecated public interface Content2BeanTransformer
Modifier and Type | Interface and Description |
---|---|
static class |
Content2BeanTransformer.Factory
Deprecated.
since 4.5, we should use IoC...
|
Modifier and Type | Method and Description |
---|---|
Object |
convertPropertyValue(Class<?> propertyType,
Object value)
Deprecated.
Transforms the simple basic jcr property value objects to more complex properties.
|
Collection<Content> |
getChildren(Content node)
Deprecated.
Returns the children of the node to be transformed.
|
TypeMapping |
getTypeMapping()
Deprecated.
since 4.5, do not use
|
void |
initBean(TransformationState state,
Map values)
Deprecated.
Called after all properties are set.
|
Object |
newBeanInstance(TransformationState state,
Map values,
ComponentProvider componentProvider)
Deprecated.
Instantiates the bean.
|
TransformationState |
newState()
Deprecated.
Create a state object to share the state between the processor and transformer.
|
TypeDescriptor |
resolveType(TransformationState state)
Deprecated.
|
TypeDescriptor |
resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider)
Deprecated.
Resolves the class to use for the current node.
|
void |
setProperty(TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
|
void |
setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
Set this property on that bean.
|
TransformationState newState()
TypeDescriptor resolveType(TransformationState state) throws ClassNotFoundException
resolveType(TypeMapping, TransformationState, ComponentProvider)
ClassNotFoundException
TypeDescriptor resolveType(TypeMapping typeMapping, TransformationState state, ComponentProvider componentProvider) throws ClassNotFoundException
ClassNotFoundException
Collection<Content> getChildren(Content node)
Object newBeanInstance(TransformationState state, Map values, ComponentProvider componentProvider) throws Content2BeanException
Content2BeanException
void initBean(TransformationState state, Map values) throws Content2BeanException
Content2BeanException
void setProperty(TransformationState state, PropertyTypeDescriptor descriptor, Map<String,Object> values)
setProperty(TypeMapping, TransformationState, PropertyTypeDescriptor, java.util.Map)
void setProperty(TypeMapping typeMapping, TransformationState state, PropertyTypeDescriptor descriptor, Map<String,Object> values)
Object convertPropertyValue(Class<?> propertyType, Object value) throws Content2BeanException
Content2BeanException
TypeMapping getTypeMapping()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.