|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.utils.xsd.SchemaModelImpl
public class SchemaModelImpl
Xerces based schema model.
Nested Class Summary | |
---|---|
static class |
SchemaModelImpl.InternalSchemaResolver
|
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. |
static SchemaModel |
newModel(java.util.Map<java.net.URI,byte[]> schemas)
Generate a schema model from a collection of schemas. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final SchemaModel newModel(java.util.Map<java.net.URI,byte[]> schemas)
schemas
- collection of schemas (indexed by systemId)
SchemaModel
public boolean isCompatible(javax.xml.namespace.QName type1, javax.xml.namespace.QName type2)
SchemaModel
Determines if two types are compatible using the following logic:
isCompatible
in interface SchemaModel
SchemaModel.isCompatible(javax.xml.namespace.QName,
javax.xml.namespace.QName)
public boolean isSimpleType(javax.xml.namespace.QName type)
SchemaModel
isSimpleType
in interface SchemaModel
SchemaModel.isSimpleType(javax.xml.namespace.QName)
public boolean knowsElementType(javax.xml.namespace.QName elementType)
SchemaModel
knowsElementType
in interface SchemaModel
SchemaModel.knowsElementType(javax.xml.namespace.QName)
public boolean knowsSchemaType(javax.xml.namespace.QName schemaType)
SchemaModel
knowsSchemaType
in interface SchemaModel
SchemaModel.knowsSchemaType(javax.xml.namespace.QName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |