Apache CXF API

org.apache.cxf.aegis.type
Interface TypeCreator

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

public interface TypeCreator


Method Summary
 TypeClassInfo createBasicClassInfo(Type itemType)
          Create class info for a Type.
 TypeClassInfo createClassInfo(Method m, int index)
          Retrieve the classInfo for a method.
 AegisType createType(Field f)
           
 AegisType createType(Method m, int index)
           
 AegisType createType(PropertyDescriptor pd)
           
 AegisType createType(Type type)
           
 AegisType createTypeForClass(TypeClassInfo info)
          Turn a TypeClassInfo into a type.
 QName getElementName(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

QName getElementName(Method m,
                     int index)
Get the mapped name of a method parameter.

Parameters:
m -
index -
Returns:

createType

AegisType createType(Method m,
                     int index)

createType

AegisType createType(PropertyDescriptor pd)

createType

AegisType createType(Type type)

createType

AegisType createType(Field f)

getParent

TypeCreator getParent()

setParent

void setParent(TypeCreator creator)

setTypeMapping

void setTypeMapping(TypeMapping typeMapping)

createClassInfo

TypeClassInfo createClassInfo(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

TypeClassInfo createBasicClassInfo(Type itemType)
Create class info for a Type.

Parameters:
itemType -
Returns:
info

createTypeForClass

AegisType createTypeForClass(TypeClassInfo info)
Turn a TypeClassInfo into a type.

Parameters:
info -
Returns:

Apache CXF API

Apache CXF