public abstract class AbstractTypeCreator extends Object implements TypeCreator
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_CXF_APACHE_ORG_ARRAYS |
protected AbstractTypeCreator |
nextCreator |
protected TypeMapping |
tm |
| Constructor and Description |
|---|
AbstractTypeCreator() |
public static final String HTTP_CXF_APACHE_ORG_ARRAYS
protected TypeMapping tm
protected AbstractTypeCreator nextCreator
public TypeMapping getTypeMapping()
public TypeCreator getTopCreator()
public TypeCreator getParent()
getParent in interface TypeCreatorpublic void setParent(TypeCreator parent)
setParent in interface TypeCreatorpublic void setTypeMapping(TypeMapping typeMapping)
setTypeMapping in interface TypeCreatorpublic void setNextCreator(AbstractTypeCreator creator)
public TypeClassInfo createClassInfo(Field f)
public TypeClassInfo createBasicClassInfo(Type type)
TypeCreatorcreateBasicClassInfo in interface TypeCreatorpublic AegisType createTypeForClass(TypeClassInfo info)
TypeCreatorcreateTypeForClass in interface TypeCreatorprotected boolean isHolder(Class<?> javaType)
protected AegisType createHolderType(TypeClassInfo info)
protected boolean isArray(Class<?> javaType)
protected AegisType createUserType(TypeClassInfo info)
protected AegisType createArrayType(TypeClassInfo info)
protected boolean isCollection(Class<?> javaType)
protected AegisType createCollectionTypeFromGeneric(TypeClassInfo info)
protected AegisType getOrCreateGenericType(TypeClassInfo info)
protected AegisType getOrCreateMapKeyType(TypeClassInfo info)
protected AegisType createObjectType()
protected AegisType getOrCreateMapValueType(TypeClassInfo info)
protected AegisType createMapType(TypeClassInfo info, AegisType keyType, AegisType valueType)
protected AegisType createMapType(TypeClassInfo info)
protected QName createMapQName(TypeClassInfo info, AegisType keyType, AegisType valueType)
protected boolean isMap(Class<?> javaType)
public abstract TypeClassInfo createClassInfo(PropertyDescriptor pd)
protected boolean isEnum(Class<?> javaType)
public AegisType createEnumType(TypeClassInfo info)
public abstract AegisType createCollectionType(TypeClassInfo info)
public abstract AegisType createDefaultType(TypeClassInfo info)
protected QName createCollectionQName(TypeClassInfo info, AegisType type)
public abstract TypeClassInfo createClassInfo(Method m, int index)
TypeCreatorcreateClassInfo in interface TypeCreatorm - Method objectindex - index in the parameter listpublic AegisType createType(Method m, int index)
createType in interface TypeCreatorm - the method to create a type forindex - The parameter index. If the index is less than zero, the
return type is used.public QName getElementName(Method m, int index)
TypeCreatorgetElementName in interface TypeCreatorpublic AegisType createType(PropertyDescriptor pd)
createType in interface TypeCreatorpd - the propertydescriptorpublic AegisType createType(Field f)
Field.createType in interface TypeCreatorf - the field to create a type frompublic AegisType createType(Type t)
createType in interface TypeCreatort - the reflected type.public TypeCreationOptions getConfiguration()
public void setConfiguration(TypeCreationOptions tpConfiguration)
Apache CXF