public class ApplicationSchemaXSD extends XSD
LOGGER, schema, typeMappingProfile, typeSchema
Constructor and Description |
---|
ApplicationSchemaXSD(String namespaceURI,
String schemaLocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDependencies(Set dependencies)
Subclass hook to add additional dependencies.
|
SchemaLocationResolver |
createSchemaLocationResolver()
Uses the
schema.getSchemaLocation() 's parent folder as the base folder to
resolve location as a relative URI of. |
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.
|
allDependencies, buildSchema, buildTypeMappingProfile, buildTypeSchema, createSchemaLocator, dispose, equals, getAllDependencies, getAllTypeMappingProfiles, getDependencies, getSchema, getSupplementarySchemaLocator, getTypeMappingProfile, getTypeSchema, hashCode, name, qName, toString
protected void addDependencies(Set dependencies)
XSD
addDependencies
in class XSD
public String getNamespaceURI()
XSD
getNamespaceURI
in class XSD
public String getSchemaLocation()
XSD
getSchemaLocation
in class XSD
public SchemaLocationResolver createSchemaLocationResolver()
schema.getSchemaLocation()
's parent folder as the base folder to
resolve location
as a relative URI of.
This way, application schemas splitted over multiple files can be resolved based on the relative location of a given import or include.
createSchemaLocationResolver
in class XSD
schema
- the schema being resolveduri
- not used as it might be an empty string when location refers to an includelocation
- the xsd location, either of schema
, an import or an include, for
which to try resolving it as a relative path of the schema
location.null
if location
can't be resolved as a relative path of the schema
location.Copyright © 1996–2019 Geotools. All rights reserved.