info.magnolia.content2bean
Interface TypeMapping

All Known Implementing Classes:
DescriptorFileBasedTypeMapping, PropertiesBasedTypeMapping, TypeMappingImpl

public interface TypeMapping

Contract for mapping of the type and its properties to appropriate java beans.

Version:
$Id: TypeMapping.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Nested Class Summary
static class TypeMapping.Factory
          Get the default transformer.
 
Field Summary
static TypeDescriptor MAP_TYPE
           
 
Method Summary
 void addPropertyTypeDescriptor(Class<?> beanClass, String propName, PropertyTypeDescriptor dscr)
           
 void addTypeDescriptor(Class<?> beanClass, TypeDescriptor dscr)
           
 PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass, String propName)
           
 TypeDescriptor getTypeDescriptor(Class<?> beanClass)
           
 

Field Detail

MAP_TYPE

static final TypeDescriptor MAP_TYPE
Method Detail

getPropertyTypeDescriptor

PropertyTypeDescriptor getPropertyTypeDescriptor(Class<?> beanClass,
                                                 String propName)

getTypeDescriptor

TypeDescriptor getTypeDescriptor(Class<?> beanClass)

addPropertyTypeDescriptor

void addPropertyTypeDescriptor(Class<?> beanClass,
                               String propName,
                               PropertyTypeDescriptor dscr)

addTypeDescriptor

void addTypeDescriptor(Class<?> beanClass,
                       TypeDescriptor dscr)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.