Package org.apache.cxf.aegis.type
Interface TypeCreator
-
- All Known Implementing Classes:
AbstractTypeCreator,DefaultTypeCreator,Java5TypeCreator,XMLTypeCreator
public interface TypeCreator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeClassInfocreateBasicClassInfo(Type itemType)Create class info for a Type.TypeClassInfocreateClassInfo(Method m, int index)Retrieve the classInfo for a method.AegisTypecreateType(PropertyDescriptor pd)AegisTypecreateType(Field f)AegisTypecreateType(Method m, int index)AegisTypecreateType(Type type)AegisTypecreateTypeForClass(TypeClassInfo info)Turn a TypeClassInfo into a type.QNamegetElementName(Method m, int index)Get the mapped name of a method parameter.TypeCreatorgetParent()voidsetParent(TypeCreator creator)voidsetTypeMapping(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(PropertyDescriptor pd)
-
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 objectindex- 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:
-
-