Class TypeTable
- java.lang.Object
-
- org.apache.axis2.description.java2wsdl.TypeTable
-
public class TypeTable extends Object
-
-
Constructor Summary
Constructors Constructor Description TypeTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddClassNameForQName(QName qname, String className)voidaddComplexSchema(String name, QName schemaType)voidaddSimpleTypeEnum(String className, QName simpleSchemaType)StringgetClassNameForQName(QName qname)Gets the class name for QName.Map<String,QName>getComplexSchemaMap()Return the complex type mapQNamegetComplexSchemaType(String name)QNamegetQNamefortheType(String typeName)Get the qname for a type first try the simple types if not try the complex typesQNamegetSchemaTypeName(String name)Gets the schema type name.QNamegetSimpleSchemaTypeName(String typeName)Return the schema type QName given the type class nameQNamegetSimpleTypeEnum(String className)Map<String,QName>getSimpleTypeEnumMap()Return the complex type mapbooleanisSimpleType(String typeName)Return whether the given type is a simple type or not
-
-
-
Field Detail
-
ANY_TYPE
public static final QName ANY_TYPE
-
-
Method Detail
-
getSimpleSchemaTypeName
public QName getSimpleSchemaTypeName(String typeName)
Return the schema type QName given the type class name- Parameters:
typeName- the name of the type- Returns:
- the name of the simple type or null if it is not a simple type
-
isSimpleType
public boolean isSimpleType(String typeName)
Return whether the given type is a simple type or not- Parameters:
typeName- the name of the type- Returns:
- true if the type is a simple type
-
getSimpleTypeEnumMap
public Map<String,QName> getSimpleTypeEnumMap()
Return the complex type map- Returns:
- the map with complex types
-
getComplexSchemaMap
public Map<String,QName> getComplexSchemaMap()
Return the complex type map- Returns:
- the map with complex types
-
getClassNameForQName
public String getClassNameForQName(QName qname)
Gets the class name for QName. first try the complex types if not try the simple types.- Parameters:
qname- the qname- Returns:
- the class name for QName
-
getQNamefortheType
public QName getQNamefortheType(String typeName)
Get the qname for a type first try the simple types if not try the complex types- Parameters:
typeName- name of the type- Returns:
- the Qname for this type
-
-