public class AppSchemaXSD extends XSD
XSD that uses SchemaResolver to locate schema resources in a catalog, on the
classpath, or in a cache.LOGGER, schema, typeMappingProfile, typeSchema| Constructor and Description |
|---|
AppSchemaXSD(String namespaceUri,
String schemaLocation,
SchemaResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
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) |
allDependencies, buildTypeMappingProfile, buildTypeSchema, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getSchema, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toStringpublic AppSchemaXSD(String namespaceUri, String schemaLocation, SchemaResolver resolver)
namespaceUri - schemaLocation - resolver - public String getNamespaceURI()
XSDgetNamespaceURI in class XSDXSD.getNamespaceURI()public String getSchemaLocation()
XSDgetSchemaLocation in class XSDXSD.getSchemaLocation()public void setConfiguration(AppSchemaConfiguration configuration)
configuration - public SchemaLocationResolver createSchemaLocationResolver()
createSchemaLocationResolver in class XSDXSD.createSchemaLocationResolver()protected void addDependencies(Set dependencies)
XSDaddDependencies in class XSDXSD.addDependencies(java.util.Set)public SchemaLocator createSchemaLocator()
createSchemaLocator in class XSDpublic XSDSchemaLocator getSupplementarySchemaLocator()
XSDgetSupplementarySchemaLocator in class XSDprotected XSDSchema buildSchema()
throws IOException
XSDXSD.getSchemaLocation()
This method may be extended, but should not be overridden.
buildSchema in class XSDIOExceptionCopyright © 1996–2019 Geotools. All rights reserved.