public class TypeTable extends Object
Constructor and Description |
---|
TypeTable() |
Modifier and Type | Method and 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 map
|
QName |
getComplexSchemaType(String name) |
QName |
getQNamefortheType(String typeName)
Get the qname for a type
first try the simple types if not try the complex types
|
QName |
getSchemaTypeName(String name)
Gets the schema type name.
|
QName |
getSimpleSchemaTypeName(String typeName)
Return the schema type QName given the type class name
|
QName |
getSimpleTypeEnum(String className) |
Map<String,QName> |
getSimpleTypeEnumMap()
Return the complex type map
|
boolean |
isSimpleType(String typeName)
Return whether the given type is a simple type or not
|
public static final QName ANY_TYPE
public QName getSimpleSchemaTypeName(String typeName)
typeName
- the name of the typepublic boolean isSimpleType(String typeName)
typeName
- the name of the typepublic Map<String,QName> getSimpleTypeEnumMap()
public Map<String,QName> getComplexSchemaMap()
public String getClassNameForQName(QName qname)
qname
- the qnamepublic QName getQNamefortheType(String typeName)
typeName
- name of the typeCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.