|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Content2BeanTransformer
Used to create beans
Nested Class Summary | |
---|---|
static class |
Content2BeanTransformer.Factory
Get your instance here |
Method Summary | |
---|---|
java.lang.Object |
convertPropertyValue(java.lang.Class<?> propertyType,
java.lang.Object value)
Transforms the simple basic jcr property value objects to more complex properties |
java.util.Collection<Content> |
getChildren(Content node)
Returns the children of the node to be transformed. |
TypeMapping |
getTypeMapping()
The mapping to use |
void |
initBean(TransformationState state,
java.util.Map values)
Called after all properties are set |
java.lang.Object |
newBeanInstance(TransformationState state,
java.util.Map values)
Instantiates the bean |
TransformationState |
newState()
Create a state object to share the state between the processor and transformer |
TypeDescriptor |
resolveType(TransformationState state)
Resolves the class to use for the current node |
void |
setProperty(TransformationState state,
PropertyTypeDescriptor descriptor,
java.util.Map<java.lang.String,java.lang.Object> values)
Set this property on that bean. |
Method Detail |
---|
TransformationState newState()
TypeDescriptor resolveType(TransformationState state) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
java.util.Collection<Content> getChildren(Content node)
java.lang.Object newBeanInstance(TransformationState state, java.util.Map values) throws Content2BeanException
Content2BeanException
void initBean(TransformationState state, java.util.Map values) throws Content2BeanException
Content2BeanException
void setProperty(TransformationState state, PropertyTypeDescriptor descriptor, java.util.Map<java.lang.String,java.lang.Object> values)
java.lang.Object convertPropertyValue(java.lang.Class<?> propertyType, java.lang.Object value) throws Content2BeanException
Content2BeanException
TypeMapping getTypeMapping()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |