public class CommandTransformer extends Node2BeanTransformerImpl
Constructor and Description |
---|
CommandTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
initBean(TransformationState state,
Map values)
Called after all properties are set.
|
protected boolean |
isChainClass(Class<?> type) |
protected boolean |
isCommandClass(Class<?> type) |
protected TypeDescriptor |
onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
Called once the type should have been resolved.
|
void |
setProperty(TypeMapping typeMapping,
TransformationState state,
PropertyTypeDescriptor descriptor,
Map values)
Set this property on that bean.
|
canHandleValue, convertPropertyValue, createCollectionFromMap, getChildren, getProperties, isBeanEnabled, newBeanInstance, newState, resolveType, supportsValueClaims
protected TypeDescriptor onResolveType(TypeMapping typeMapping, TransformationState state, TypeDescriptor resolvedType, ComponentProvider componentProvider)
Node2BeanTransformerImpl
onResolveType
in class Node2BeanTransformerImpl
public void initBean(TransformationState state, Map values) throws Node2BeanException
Node2BeanTransformer
initBean
in interface Node2BeanTransformer
initBean
in class Node2BeanTransformerImpl
Node2BeanException
public void setProperty(TypeMapping typeMapping, TransformationState state, PropertyTypeDescriptor descriptor, Map values) throws javax.jcr.RepositoryException
Node2BeanTransformer
setProperty
in interface Node2BeanTransformer
setProperty
in class Node2BeanTransformerImpl
javax.jcr.RepositoryException
protected boolean isCommandClass(Class<?> type)
protected boolean isChainClass(Class<?> type)
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.