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 void
addClassNameForQName(QName qname, String className)
void
addComplexSchema(String name, QName schemaType)
void
addSimpleTypeEnum(String className, QName simpleSchemaType)
String
getClassNameForQName(QName qname)
Gets the class name for QName.Map<String,QName>
getComplexSchemaMap()
Return the complex type mapQName
getComplexSchemaType(String name)
QName
getQNamefortheType(String typeName)
Get the qname for a type first try the simple types if not try the complex typesQName
getSchemaTypeName(String name)
Gets the schema type name.QName
getSimpleSchemaTypeName(String typeName)
Return the schema type QName given the type class nameQName
getSimpleTypeEnum(String className)
Map<String,QName>
getSimpleTypeEnumMap()
Return the complex type mapboolean
isSimpleType(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
-
-