info.magnolia.content2bean
Class Content2BeanUtil.DefaultClassTransformer

java.lang.Object
  extended by info.magnolia.content2bean.impl.Content2BeanTransformerImpl
      extended by info.magnolia.content2bean.Content2BeanUtil.DefaultClassTransformer
All Implemented Interfaces:
Content.ContentFilter, Content2BeanTransformer
Enclosing class:
Content2BeanUtil

public static final class Content2BeanUtil.DefaultClassTransformer
extends Content2BeanTransformerImpl

Provide a default class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.content2bean.Content2BeanTransformer
Content2BeanTransformer.Factory
 
Constructor Summary
Content2BeanUtil.DefaultClassTransformer(Class defaultClass)
           
 
Method Summary
protected  TypeDescriptor onResolveType(TransformationState state, TypeDescriptor resolvedType)
          Called once the type should have been resolved.
 
Methods inherited from class info.magnolia.content2bean.impl.Content2BeanTransformerImpl
accept, convertPropertyValue, getChildren, getTypeMapping, initBean, newBeanInstance, newState, resolveType, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content2BeanUtil.DefaultClassTransformer

public Content2BeanUtil.DefaultClassTransformer(Class defaultClass)
Method Detail

onResolveType

protected TypeDescriptor onResolveType(TransformationState state,
                                       TypeDescriptor resolvedType)
Description copied from class: Content2BeanTransformerImpl
Called once the type should have been resolved. The resolvedType might be null if no type has been resolved. After the call the FactoryUtil and custom transformers are used to get the final type. TODO - check javadoc

Overrides:
onResolveType in class Content2BeanTransformerImpl


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