|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.aegis.type.AbstractTypeCreator
public abstract class AbstractTypeCreator
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_CXF_APACHE_ORG_ARRAYS
|
protected AbstractTypeCreator |
nextCreator
|
protected TypeMapping |
tm
|
| Constructor Summary | |
|---|---|
AbstractTypeCreator()
|
|
| Method Summary | |
|---|---|
protected AegisType |
createArrayType(TypeClassInfo info)
|
TypeClassInfo |
createBasicClassInfo(java.lang.reflect.Type type)
Create class info for a Type. |
TypeClassInfo |
createClassInfo(java.lang.reflect.Field f)
|
abstract TypeClassInfo |
createClassInfo(java.lang.reflect.Method m,
int index)
Retrieve the classInfo for a method. |
abstract TypeClassInfo |
createClassInfo(java.beans.PropertyDescriptor pd)
|
protected javax.xml.namespace.QName |
createCollectionQName(TypeClassInfo info,
AegisType type)
|
abstract AegisType |
createCollectionType(TypeClassInfo info)
|
protected AegisType |
createCollectionTypeFromGeneric(TypeClassInfo info)
|
abstract AegisType |
createDefaultType(TypeClassInfo info)
|
AegisType |
createEnumType(TypeClassInfo info)
|
protected AegisType |
createHolderType(TypeClassInfo info)
|
protected javax.xml.namespace.QName |
createMapQName(TypeClassInfo info,
AegisType keyType,
AegisType valueType)
|
protected AegisType |
createMapType(TypeClassInfo info)
|
protected AegisType |
createMapType(TypeClassInfo info,
AegisType keyType,
AegisType valueType)
|
protected AegisType |
createObjectType()
|
protected javax.xml.namespace.QName |
createQName(java.lang.Class javaType)
|
AegisType |
createType(java.lang.Class clazz)
|
AegisType |
createType(java.lang.reflect.Field f)
Create type information for a Field. |
AegisType |
createType(java.lang.reflect.Method m,
int index)
Create a AegisType for a Method parameter. |
AegisType |
createType(java.beans.PropertyDescriptor pd)
Create type information for a PropertyDescriptor. |
AegisType |
createType(java.lang.reflect.Type t)
Create an Aegis type from a reflected type description. |
AegisType |
createTypeForClass(TypeClassInfo info)
Turn a TypeClassInfo into a type. |
protected AegisType |
createUserType(TypeClassInfo info)
|
TypeCreationOptions |
getConfiguration()
|
javax.xml.namespace.QName |
getElementName(java.lang.reflect.Method m,
int index)
Get the mapped name of a method parameter. |
protected AegisType |
getOrCreateGenericType(TypeClassInfo info)
|
protected AegisType |
getOrCreateMapKeyType(TypeClassInfo info)
|
protected AegisType |
getOrCreateMapValueType(TypeClassInfo info)
|
TypeCreator |
getParent()
|
TypeCreator |
getTopCreator()
|
TypeMapping |
getTypeMapping()
|
protected boolean |
isArray(java.lang.Class javaType)
|
protected boolean |
isCollection(java.lang.Class javaType)
|
protected boolean |
isEnum(java.lang.Class javaType)
|
protected boolean |
isHolder(java.lang.Class javaType)
|
protected boolean |
isMap(java.lang.Class javaType)
|
void |
setConfiguration(TypeCreationOptions tpConfiguration)
|
void |
setNextCreator(AbstractTypeCreator creator)
|
void |
setParent(TypeCreator parent)
|
void |
setTypeMapping(TypeMapping typeMapping)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_CXF_APACHE_ORG_ARRAYS
protected TypeMapping tm
protected AbstractTypeCreator nextCreator
| Constructor Detail |
|---|
public AbstractTypeCreator()
| Method Detail |
|---|
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(java.lang.reflect.Field f)
public TypeClassInfo createBasicClassInfo(java.lang.reflect.Type type)
TypeCreator
createBasicClassInfo in interface TypeCreatorpublic AegisType createTypeForClass(TypeClassInfo info)
TypeCreator
createTypeForClass in interface TypeCreatorprotected boolean isHolder(java.lang.Class javaType)
protected AegisType createHolderType(TypeClassInfo info)
protected boolean isArray(java.lang.Class javaType)
protected AegisType createUserType(TypeClassInfo info)
protected AegisType createArrayType(TypeClassInfo info)
protected javax.xml.namespace.QName createQName(java.lang.Class javaType)
protected boolean isCollection(java.lang.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 javax.xml.namespace.QName createMapQName(TypeClassInfo info,
AegisType keyType,
AegisType valueType)
protected boolean isMap(java.lang.Class javaType)
public abstract TypeClassInfo createClassInfo(java.beans.PropertyDescriptor pd)
protected boolean isEnum(java.lang.Class javaType)
public AegisType createEnumType(TypeClassInfo info)
public abstract AegisType createCollectionType(TypeClassInfo info)
public abstract AegisType createDefaultType(TypeClassInfo info)
protected javax.xml.namespace.QName createCollectionQName(TypeClassInfo info,
AegisType type)
public abstract TypeClassInfo createClassInfo(java.lang.reflect.Method m,
int index)
TypeCreator
createClassInfo in interface TypeCreatorm - Method objectindex - index in the parameter list
public AegisType createType(java.lang.reflect.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 javax.xml.namespace.QName getElementName(java.lang.reflect.Method m,
int index)
TypeCreator
getElementName in interface TypeCreatorpublic AegisType createType(java.beans.PropertyDescriptor pd)
createType in interface TypeCreatorpd - the propertydescriptorpublic AegisType createType(java.lang.reflect.Field f)
Field.
createType in interface TypeCreatorf - the field to create a type frompublic AegisType createType(java.lang.reflect.Type t)
createType in interface TypeCreatort - the reflected type.
public AegisType createType(java.lang.Class clazz)
public TypeCreationOptions getConfiguration()
public void setConfiguration(TypeCreationOptions tpConfiguration)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||