public class TypeTable extends Object
Modifier and Type | Field and Description |
---|---|
static javax.xml.namespace.QName |
ANY_TYPE |
Constructor and Description |
---|
TypeTable() |
Modifier and Type | Method and Description |
---|---|
void |
addClassNameForQName(javax.xml.namespace.QName qname,
String className) |
void |
addComplexSchema(String name,
javax.xml.namespace.QName schemaType) |
String |
getClassNameForQName(javax.xml.namespace.QName qname) |
Map |
getComplexSchemaMap()
Return the complex type map
|
javax.xml.namespace.QName |
getComplexSchemaType(String name) |
javax.xml.namespace.QName |
getQNamefortheType(String typeName)
Get the qname for a type
first try the simple types if not try the complex types
|
javax.xml.namespace.QName |
getSimpleSchemaTypeName(String typeName)
Return the schema type QName given the type class name
|
boolean |
isSimpleType(String typeName)
Return whether the given type is a simple type or not
|
public javax.xml.namespace.QName getSimpleSchemaTypeName(String typeName)
typeName
- the name of the typepublic boolean isSimpleType(String typeName)
typeName
- the name of the typepublic Map getComplexSchemaMap()
public void addComplexSchema(String name, javax.xml.namespace.QName schemaType)
public javax.xml.namespace.QName getComplexSchemaType(String name)
public String getClassNameForQName(javax.xml.namespace.QName qname)
public void addClassNameForQName(javax.xml.namespace.QName qname, String className)
public javax.xml.namespace.QName getQNamefortheType(String typeName)
typeName
- name of the typeCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.