info.magnolia.content2bean
Class TypeDescriptor

java.lang.Object
  extended by info.magnolia.content2bean.TypeDescriptor
Direct Known Subclasses:
PropertiesBasedTypeDescriptor

Deprecated. since 5.2.4 - use TypeDescriptor instead.

public class TypeDescriptor
extends Object

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

TypeDescriptor

public TypeDescriptor()
Deprecated. 
Method Detail

getItemType

public ItemType getItemType()
Deprecated. 

setItemType

public void setItemType(ItemType itemType)
Deprecated. 

getType

public Class<?> getType()
Deprecated. 

setType

public void setType(Class<?> type)
Deprecated. 

isCollection

public boolean isCollection()
Deprecated. 

setCollection

public void setCollection(boolean isCollection)
Deprecated. 

isMap

public boolean isMap()
Deprecated. 

setMap

public void setMap(boolean isMap)
Deprecated. 

getPropertyTypeDescriptor

public PropertyTypeDescriptor getPropertyTypeDescriptor(String propertyName,
                                                        TypeMapping typeMapping)
Deprecated. 

needsDefaultMapping

public boolean needsDefaultMapping()
Deprecated. 
Returns:
true if this descriptor represents an map or collection, without a concrete type thereof.

getPropertyDescriptors

public 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.


getTransformer

public Content2BeanTransformer getTransformer()
Deprecated. 
Can return a custom transformer. Otherwise null.


setTransformer

public void setTransformer(Content2BeanTransformer transformer)
Deprecated. 


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