info.magnolia.content2bean
Class Content2BeanUtil.DefaultClassTransformer
java.lang.Object
info.magnolia.content2bean.impl.Content2BeanTransformerImpl
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.
Methods inherited from class info.magnolia.content2bean.impl.Content2BeanTransformerImpl |
accept, convertPropertyValue, getChildren, getTypeMapping, initBean, newBeanInstance, newState, onResolveType, resolveType, resolveType, setProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Content2BeanUtil.DefaultClassTransformer
public Content2BeanUtil.DefaultClassTransformer(Class defaultClass)
onResolveType
protected TypeDescriptor onResolveType(TypeMapping typeMapping,
TransformationState state,
TypeDescriptor resolvedType,
ComponentProvider componentProvider)
- 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-2012 Magnolia International Ltd.. All Rights Reserved.