org.apache.ode.utils.xsd
Interface SchemaModel

All Known Implementing Classes:
SchemaModelImpl

public interface SchemaModel


Method Summary
 boolean isCompatible(javax.xml.namespace.QName type1, javax.xml.namespace.QName type2)
           Determines if two types are compatible using the following logic:
 boolean isSimpleType(javax.xml.namespace.QName type)
          Checks if type is a simple type.
 boolean knowsElementType(javax.xml.namespace.QName elementType)
          Checks if model knows the type as an element type.
 boolean knowsSchemaType(javax.xml.namespace.QName schemaType)
          Checks if the model know the type as a schema type.
 

Method Detail

isCompatible

boolean isCompatible(javax.xml.namespace.QName type1,
                     javax.xml.namespace.QName type2)

Determines if two types are compatible using the following logic:

Returns:

isSimpleType

boolean isSimpleType(javax.xml.namespace.QName type)
Checks if type is a simple type.

Returns:
DOCUMENTME

knowsElementType

boolean knowsElementType(javax.xml.namespace.QName elementType)
Checks if model knows the type as an element type.

Returns:
DOCUMENTME

knowsSchemaType

boolean knowsSchemaType(javax.xml.namespace.QName schemaType)
Checks if the model know the type as a schema type.

Returns:
DOCUMENTME