info.magnolia.content2bean.impl
Class DescriptorFileBasedTypeMapping

java.lang.Object
  extended by info.magnolia.content2bean.impl.TypeMappingImpl
      extended by info.magnolia.content2bean.impl.DescriptorFileBasedTypeMapping
All Implemented Interfaces:
TypeMapping

public class DescriptorFileBasedTypeMapping
extends TypeMappingImpl

Type Mapper implementation resolving the mapping from file based descriptors. Descriptors are the properties files with extension .content2bean.

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.content2bean.TypeMapping
TypeMapping.Factory
 
Field Summary
 
Fields inherited from class info.magnolia.content2bean.impl.TypeMappingImpl
propertyTypes, types
 
Fields inherited from interface info.magnolia.content2bean.TypeMapping
MAP_TYPE
 
Constructor Summary
DescriptorFileBasedTypeMapping()
           
 
Method Summary
protected  void processFile(java.lang.String fileName)
           
protected  TypeDescriptor processProperties(java.lang.Class<?> className, java.util.Properties props)
           
 
Methods inherited from class info.magnolia.content2bean.impl.TypeMappingImpl
addPropertyTypeDescriptor, addTypeDescriptor, getAddMethod, getExactMethod, getPropertyTypeDescriptor, getTypeDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorFileBasedTypeMapping

public DescriptorFileBasedTypeMapping()
Method Detail

processFile

protected void processFile(java.lang.String fileName)

processProperties

protected TypeDescriptor processProperties(java.lang.Class<?> className,
                                           java.util.Properties props)
                                    throws java.lang.Exception
Throws:
java.lang.Exception


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