Package | Description |
---|---|
info.magnolia.content2bean | |
info.magnolia.content2bean.impl |
Modifier and Type | Method and Description |
---|---|
TransformationState |
Content2BeanTransformer.newState()
Deprecated.
Create a state object to share the state between the processor and transformer.
|
Modifier and Type | Method and Description |
---|---|
Object |
Bean2ContentTransformer.convertNodeDataValue(TransformationState state,
String name,
Object value)
Deprecated.
Convert complex values to the basic supported types (int, boolean, ..
|
ItemType |
Bean2ContentTransformer.finishContent(TransformationState state)
Deprecated.
Called after the node data and child content is set.
|
void |
Content2BeanTransformer.initBean(TransformationState state,
Map values)
Deprecated.
Called after all properties are set.
|
boolean |
Bean2ContentTransformer.isNode(TransformationState state,
String propertyName,
Object value)
Deprecated.
Will this property be a node?
|
boolean |
Bean2ContentTransformer.isProperty(TransformationState state,
String propertyName,
Object value)
Deprecated.
Will this property be a node data?
|
Object |
Content2BeanTransformer.newBeanInstance(TransformationState state,
Map values,
ComponentProvider componentProvider)
Deprecated.
Instantiates the bean.
|
protected TypeDescriptor |
Content2BeanUtil.DefaultClassTransformer.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider) |
ItemType |
Bean2ContentTransformer.prepareContent(TransformationState state)
Deprecated.
Set mixin types or similar.
|
ItemType |
Bean2ContentTransformer.resolveItemType(TransformationState state)
Deprecated.
The item type of the node.
|
ItemType |
Bean2ContentTransformer.resolveName(TransformationState state)
Deprecated.
The content name to use.
|
TypeDescriptor |
Content2BeanTransformer.resolveType(TransformationState state)
Deprecated.
|
TypeDescriptor |
Content2BeanUtil.ToMapTransformer.resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider) |
TypeDescriptor |
Content2BeanTransformer.resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider)
Deprecated.
Resolves the class to use for the current node.
|
void |
Bean2ContentTransformer.setNodeData(TransformationState state,
String name,
Object value)
Deprecated.
Create/set the node data of the node.
|
void |
Content2BeanTransformer.setProperty(TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
|
void |
Content2BeanTransformer.setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
Set this property on that bean.
|
Modifier and Type | Class and Description |
---|---|
class |
TransformationStateImpl
Deprecated.
since 5.2.4 - use
TransformationStateImpl instead. |
Modifier and Type | Method and Description |
---|---|
TransformationState |
Content2BeanTransformerImpl.newState()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Content2BeanTransformerImpl.initBean(TransformationState state,
Map properties)
Deprecated.
Initializes bean by calling its init method if present.
|
Object |
Content2BeanTransformerImpl.newBeanInstance(TransformationState state,
Map properties,
ComponentProvider componentProvider)
Deprecated.
Use the factory util to instantiate.
|
protected TypeDescriptor |
Content2BeanTransformerImpl.onResolveType(TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
|
protected TypeDescriptor |
Content2BeanTransformerImpl.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
Deprecated.
Called once the type should have been resolved.
|
protected TypeDescriptor |
CollectionPropertyHidingTransformer.onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
Deprecated.
|
TypeDescriptor |
Content2BeanTransformerImpl.resolveType(TransformationState state)
Deprecated.
|
TypeDescriptor |
Content2BeanTransformerImpl.resolveType(TypeMapping typeMapping,
TransformationState state,
ComponentProvider componentProvider)
Deprecated.
Resolves the
TypeDescriptor from current transformation state. |
protected void |
Content2BeanProcessorImpl.setProperties(Map<String,Object> values,
Content2BeanTransformer transformer,
TransformationState state)
Deprecated.
Populates the properties of the bean with values from the map.
|
void |
Content2BeanTransformerImpl.setProperty(TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
|
void |
Content2BeanTransformerImpl.setProperty(TypeMapping mapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
Deprecated.
Do not set class property.
|
void |
CollectionPropertyHidingTransformer.setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map<String,Object> values)
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–2017 Magnolia International Ltd.. All rights reserved.