info.magnolia.content2bean
Interface Bean2ContentTransformer


Deprecated. since 4.5.18 - unused, Bean2Content is not implemented yet.

public interface Bean2ContentTransformer

Used to create content nodes. This is a kind of configuration for the processor.


Method Summary
 Object convertNodeDataValue(TransformationState state, String name, Object value)
          Deprecated. Convert complex values to the basic supported types (int, boolean, ..
 ItemType finishContent(TransformationState state)
          Deprecated. Called after the node data and child content is set.
 boolean isNode(TransformationState state, String propertyName, Object value)
          Deprecated. Will this property be a node?
 boolean isProperty(TransformationState state, String propertyName, Object value)
          Deprecated. Will this property be a node data?
 ItemType prepareContent(TransformationState state)
          Deprecated. Set mixin types or similar.
 ItemType resolveItemType(TransformationState state)
          Deprecated. The item type of the node.
 ItemType resolveName(TransformationState state)
          Deprecated. The content name to use.
 void setNodeData(TransformationState state, String name, Object value)
          Deprecated. Create/set the node data of the node.
 

Method Detail

resolveItemType

ItemType resolveItemType(TransformationState state)
Deprecated. 
The item type of the node.


resolveName

ItemType resolveName(TransformationState state)
Deprecated. 
The content name to use.


prepareContent

ItemType prepareContent(TransformationState state)
Deprecated. 
Set mixin types or similar. Does not create the node!


finishContent

ItemType finishContent(TransformationState state)
Deprecated. 
Called after the node data and child content is set.


isNode

boolean isNode(TransformationState state,
               String propertyName,
               Object value)
Deprecated. 
Will this property be a node?


isProperty

boolean isProperty(TransformationState state,
                   String propertyName,
                   Object value)
Deprecated. 
Will this property be a node data?


setNodeData

void setNodeData(TransformationState state,
                 String name,
                 Object value)
Deprecated. 
Create/set the node data of the node.


convertNodeDataValue

Object convertNodeDataValue(TransformationState state,
                            String name,
                            Object value)
Deprecated. 
Convert complex values to the basic supported types (int, boolean, .. String)



Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.