|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.content2bean.TypeDescriptor
TypeDescriptor
instead.
public class TypeDescriptor
Describes the type under the transformation. Can be used to customize the output of the transformation.
Constructor Summary | |
---|---|
TypeDescriptor()
Deprecated. |
Method Summary | |
---|---|
ItemType |
getItemType()
Deprecated. |
Map<String,PropertyTypeDescriptor> |
getPropertyDescriptors(TypeMapping typeMapping)
Deprecated. This method is not synchronized to avoid thread blocking, but the method guarantees that the returned map is not mutated afterward. |
PropertyTypeDescriptor |
getPropertyTypeDescriptor(String propertyName,
TypeMapping typeMapping)
Deprecated. |
Content2BeanTransformer |
getTransformer()
Deprecated. Can return a custom transformer. |
Class<?> |
getType()
Deprecated. |
boolean |
isCollection()
Deprecated. |
boolean |
isMap()
Deprecated. |
boolean |
needsDefaultMapping()
Deprecated. |
void |
setCollection(boolean isCollection)
Deprecated. |
void |
setItemType(ItemType itemType)
Deprecated. |
void |
setMap(boolean isMap)
Deprecated. |
void |
setTransformer(Content2BeanTransformer transformer)
Deprecated. |
void |
setType(Class<?> type)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeDescriptor()
Method Detail |
---|
public ItemType getItemType()
public void setItemType(ItemType itemType)
public Class<?> getType()
public void setType(Class<?> type)
public boolean isCollection()
public void setCollection(boolean isCollection)
public boolean isMap()
public void setMap(boolean isMap)
public PropertyTypeDescriptor getPropertyTypeDescriptor(String propertyName, TypeMapping typeMapping)
public boolean needsDefaultMapping()
public Map<String,PropertyTypeDescriptor> getPropertyDescriptors(TypeMapping typeMapping)
public Content2BeanTransformer getTransformer()
public void setTransformer(Content2BeanTransformer transformer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |