|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.content2bean.impl.TypeMappingImpl
TypeMappingImpl
instead.
@Singleton public class TypeMappingImpl
Basic type mapping implementation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface info.magnolia.content2bean.TypeMapping |
---|
TypeMapping.Factory |
Field Summary |
---|
Fields inherited from interface info.magnolia.content2bean.TypeMapping |
---|
MAP_TYPE |
Constructor Summary | |
---|---|
TypeMappingImpl()
Deprecated. |
Method Summary | |
---|---|
void |
addPropertyTypeDescriptor(Class<?> beanClass,
String propName,
PropertyTypeDescriptor dscr)
Deprecated. |
void |
addTypeDescriptor(Class<?> beanClass,
TypeDescriptor dscr)
Deprecated. |
protected Content2BeanTransformer |
findTransformerByNamingConvention(Class<?> beanClass)
Deprecated. since 4.5, transformers should be explicitly registered via the module descriptor. |
protected Content2BeanTransformer |
findTransformerViaProperty(Class<?> beanClass)
Deprecated. since 4.5, transformers should be explicitly registered via the module descriptor. |
Method |
getAddMethod(Class<?> type,
String name,
int numberOfParameters)
Deprecated. Get a adder method. |
protected Method |
getExactMethod(Class<?> type,
String name,
int numberOfParameters)
Deprecated. Find a method. |
PropertyTypeDescriptor |
getPropertyTypeDescriptor(Class<?> beanClass,
String propName)
Deprecated. Cache the already resolved types. |
TypeDescriptor |
getTypeDescriptor(Class<?> beanClass)
Deprecated. |
protected Content2BeanTransformer |
instantiateTransformer(Class<?> beanClass,
String transformerClassName)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeMappingImpl()
Method Detail |
---|
public Method getAddMethod(Class<?> type, String name, int numberOfParameters)
public PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass, String propName)
getPropertyTypeDescriptor
in interface TypeMapping
public void addPropertyTypeDescriptor(Class<?> beanClass, String propName, PropertyTypeDescriptor dscr)
addPropertyTypeDescriptor
in interface TypeMapping
public void addTypeDescriptor(Class<?> beanClass, TypeDescriptor dscr)
addTypeDescriptor
in interface TypeMapping
public TypeDescriptor getTypeDescriptor(Class<?> beanClass)
getTypeDescriptor
in interface TypeMapping
protected Content2BeanTransformer findTransformerByNamingConvention(Class<?> beanClass)
protected Content2BeanTransformer findTransformerViaProperty(Class<?> beanClass) throws ClassNotFoundException
PropertiesBasedTypeMapping
.
ClassNotFoundException
protected Content2BeanTransformer instantiateTransformer(Class<?> beanClass, String transformerClassName) throws ClassNotFoundException
ClassNotFoundException
protected Method getExactMethod(Class<?> type, String name, int numberOfParameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |