|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectXSD
AppSchemaXSD
public class AppSchemaXSD
XSD
that uses SchemaResolver
to locate schema resources in a catalog, on the
classpath, or in a cache.
Field Summary |
---|
Fields inherited from class XSD |
---|
LOGGER, schema, typeMappingProfile, typeSchema |
Constructor Summary | |
---|---|
AppSchemaXSD(String namespaceUri,
String schemaLocation,
SchemaResolver resolver)
|
Method Summary | |
---|---|
protected void |
addDependencies(Set dependencies)
Subclass hook to add additional dependencies. |
protected XSDSchema |
buildSchema()
Builds the schema from the .xsd file specified by XSD.getSchemaLocation()
This method may be extended, but should not be overridden. |
SchemaLocationResolver |
createSchemaLocationResolver()
|
SchemaLocator |
createSchemaLocator()
|
String |
getNamespaceURI()
The namespace uri of the schema. |
String |
getSchemaLocation()
The location on the local disk of the top level .xsd file which defines the schema. |
XSDSchemaLocator |
getSupplementarySchemaLocator()
Optionally, a schema locator that helps locating (other) schema's used for includes/imports that might already exist but are not in dependencies |
void |
setConfiguration(AppSchemaConfiguration configuration)
|
Methods inherited from class XSD |
---|
allDependencies, buildTypeMappingProfile, buildTypeSchema, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getSchema, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AppSchemaXSD(String namespaceUri, String schemaLocation, SchemaResolver resolver)
namespaceUri
- schemaLocation
- resolver
- Method Detail |
---|
public String getNamespaceURI()
XSD
getNamespaceURI
in class XSD
XSD.getNamespaceURI()
public String getSchemaLocation()
XSD
getSchemaLocation
in class XSD
XSD.getSchemaLocation()
public void setConfiguration(AppSchemaConfiguration configuration)
configuration
- public SchemaLocationResolver createSchemaLocationResolver()
createSchemaLocationResolver
in class XSD
XSD.createSchemaLocationResolver()
protected void addDependencies(Set dependencies)
XSD
addDependencies
in class XSD
XSD.addDependencies(java.util.Set)
public SchemaLocator createSchemaLocator()
createSchemaLocator
in class XSD
public XSDSchemaLocator getSupplementarySchemaLocator()
XSD
getSupplementarySchemaLocator
in class XSD
protected XSDSchema buildSchema() throws IOException
XSD
XSD.getSchemaLocation()
This method may be extended, but should not be overridden.
buildSchema
in class XSD
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |