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, toString
public AppSchemaXSD(String namespaceUri, String schemaLocation, SchemaResolver resolver)
namespaceUri
- schemaLocation
- resolver
- 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
Copyright © 1996–2019 Geotools. All rights reserved.