org.springframework.core.convert
Class AbstractDescriptor

java.lang.Object
  extended by org.springframework.core.convert.AbstractDescriptor
Direct Known Subclasses:
BeanPropertyDescriptor, ClassDescriptor, FieldDescriptor, ParameterDescriptor

abstract class AbstractDescriptor
extends java.lang.Object

Since:
3.1
Author:
Keith Donald

Field Summary
private  java.lang.Class<?> type
           
 
Constructor Summary
protected AbstractDescriptor(java.lang.Class<?> type)
           
 
Method Summary
abstract  java.lang.annotation.Annotation[] getAnnotations()
           
 TypeDescriptor getElementTypeDescriptor()
           
 TypeDescriptor getMapKeyTypeDescriptor()
           
 TypeDescriptor getMapValueTypeDescriptor()
           
 java.lang.Class<?> getType()
           
private  boolean isArray()
           
private  boolean isCollection()
           
private  boolean isMap()
           
 AbstractDescriptor nested()
           
protected abstract  AbstractDescriptor nested(java.lang.Class<?> type, int typeIndex)
           
protected abstract  java.lang.Class<?> resolveCollectionElementType()
           
protected abstract  java.lang.Class<?> resolveMapKeyType()
           
protected abstract  java.lang.Class<?> resolveMapValueType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private final java.lang.Class<?> type
Constructor Detail

AbstractDescriptor

protected AbstractDescriptor(java.lang.Class<?> type)
Method Detail

getType

public java.lang.Class<?> getType()

getElementTypeDescriptor

public TypeDescriptor getElementTypeDescriptor()

getMapKeyTypeDescriptor

public TypeDescriptor getMapKeyTypeDescriptor()

getMapValueTypeDescriptor

public TypeDescriptor getMapValueTypeDescriptor()

getAnnotations

public abstract java.lang.annotation.Annotation[] getAnnotations()

nested

public AbstractDescriptor nested()

resolveCollectionElementType

protected abstract java.lang.Class<?> resolveCollectionElementType()

resolveMapKeyType

protected abstract java.lang.Class<?> resolveMapKeyType()

resolveMapValueType

protected abstract java.lang.Class<?> resolveMapValueType()

nested

protected abstract AbstractDescriptor nested(java.lang.Class<?> type,
                                             int typeIndex)

isCollection

private boolean isCollection()

isArray

private boolean isArray()

isMap

private boolean isMap()