net.stickycode.coercion
Class AbstractCoercionType

java.lang.Object
  extended by net.stickycode.coercion.AbstractCoercionType
All Implemented Interfaces:
CoercionTarget
Direct Known Subclasses:
CoercionType

public abstract class AbstractCoercionType
extends Object
implements CoercionTarget


Constructor Summary
AbstractCoercionType()
           
 
Method Summary
 AbstractCoercionType getComponentCoercionType()
           
 AbstractCoercionType[] getComponentCoercionTypes()
           
 Class<?> getComponentType()
           
abstract  ParameterizedType getGenericType()
           
abstract  Class<?> getType()
           
 boolean isArray()
           
abstract  boolean isGenericType()
           
protected  Class<?> resolve(Class<?> componentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCoercionType

public AbstractCoercionType()
Method Detail

isGenericType

public abstract boolean isGenericType()

getGenericType

public abstract ParameterizedType getGenericType()

getType

public abstract Class<?> getType()
Specified by:
getType in interface CoercionTarget

isArray

public boolean isArray()
Specified by:
isArray in interface CoercionTarget

getComponentType

public Class<?> getComponentType()
Specified by:
getComponentType in interface CoercionTarget

getComponentCoercionType

public AbstractCoercionType getComponentCoercionType()
Specified by:
getComponentCoercionType in interface CoercionTarget

getComponentCoercionTypes

public AbstractCoercionType[] getComponentCoercionTypes()
Specified by:
getComponentCoercionTypes in interface CoercionTarget

resolve

protected Class<?> resolve(Class<?> componentType)


Copyright © 2003-2011 RedEngine Ltd. All Rights Reserved.