|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of an XML Schemata.
Method Summary | |
void |
addJavaSchemaTypeMapping(java.lang.String javaType,
Type schemaType)
Sets a schema type for a given java type. |
java.util.Map |
getAllSchemasAsElements()
Returns all the schemata al DOM elements. |
Type |
getSchemaType(java.lang.String javaType)
Finds out the appropriate schema type for a given java type. |
Methods inherited from interface org.idoox.xml.schema.SchemaHolder |
addAttribute, addAttributeGroup, addSchemaElement, addSchemaGroup, addSchemaType, getAttribute, getAttribute, getAttributeGroup, getAttributeGroup, getAttributeGroups, getAttributes, getElements, getGroups, getNamespaces, getParser, getSchemaElement, getSchemaElement, getSchemaGroup, getSchemaGroup, getSchemaType, getSchemaType, getTypes, toString |
Method Detail |
public java.util.Map getAllSchemasAsElements() throws SchemaException
SchemaException
public Type getSchemaType(java.lang.String javaType) throws SchemaException
The type for which getJavaTypeName() == javaType is returned. If nothing is found, null is returned.
javaType
- java type to be translated
SchemaException
- if something goes wrong (such as
parsing, ...)public void addJavaSchemaTypeMapping(java.lang.String javaType, Type schemaType)
javaType
- the java type to be mappedschemaType
- the schema type to which the java type is mapped to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |