org.apache.cxf.aegis.type
Interface TypeCreator

All Known Implementing Classes:
AbstractTypeCreator, DefaultTypeCreator, Java5TypeCreator, XMLTypeCreator

public interface TypeCreator

Author:
Dan Diephouse

Method Summary
 AbstractTypeCreator.TypeClassInfo createBasicClassInfo(java.lang.Class<?> itemClass)
          Retrieve the class info for a class.
 AbstractTypeCreator.TypeClassInfo createClassInfo(java.lang.reflect.Method m, int index)
          Retrieve the classInfo for a method.
 Type createType(java.lang.Class clazz)
           
 Type createType(java.lang.reflect.Field f)
           
 Type createType(java.lang.reflect.Method m, int index)
           
 Type createType(java.beans.PropertyDescriptor pd)
           
 Type createTypeForClass(AbstractTypeCreator.TypeClassInfo info)
          Turn a TypeClassInfo into a type.
 javax.xml.namespace.QName getElementName(java.lang.reflect.Method m, int index)
          Get the mapped name of a method parameter.
 TypeCreator getParent()
           
 void setParent(TypeCreator creator)
           
 void setTypeMapping(TypeMapping typeMapping)
           
 

Method Detail

getElementName

javax.xml.namespace.QName getElementName(java.lang.reflect.Method m,
                                         int index)
Get the mapped name of a method parameter.

Parameters:
m -
index -
Returns:

createType

Type createType(java.lang.reflect.Method m,
                int index)

createType

Type createType(java.beans.PropertyDescriptor pd)

createType

Type createType(java.lang.reflect.Field f)

createType

Type createType(java.lang.Class clazz)

getParent

TypeCreator getParent()

setParent

void setParent(TypeCreator creator)

setTypeMapping

void setTypeMapping(TypeMapping typeMapping)

createClassInfo

AbstractTypeCreator.TypeClassInfo createClassInfo(java.lang.reflect.Method m,
                                                  int index)
Retrieve the classInfo for a method. Needed to get parameters right.

Parameters:
m - Method object
index - index in the parameter list
Returns:
info

createBasicClassInfo

AbstractTypeCreator.TypeClassInfo createBasicClassInfo(java.lang.Class<?> itemClass)
Retrieve the class info for a class. Needed to get parameters right.

Parameters:
itemClass -
Returns:
info

createTypeForClass

Type createTypeForClass(AbstractTypeCreator.TypeClassInfo info)
Turn a TypeClassInfo into a type.

Parameters:
info -
Returns:


Apache CXF