Package org.geotools.data.complex.util
Class EmfComplexFeatureReader
Object
EmfComplexFeatureReader
Parses an application schema given by a gtxml
Configuration
into a set of AttributeType
s and
AttributeDescriptor
s.
All the XSD schema locations that comprise the application schema are obtained from the main Configuration
and its dependencies.
Of particular interest might be the ApplicationSchemaConfiguration
object, which allows to provide the
location of the root xsd schema for a given application schema.
- Since:
- 2.4
- Author:
- Gabriel Roldan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindSchemaNamespace
(URL location) Finds out the targetNamespace of the xsd schema referenced bylocation
static EmfComplexFeatureReader
Parses the schema referenced bylocation
into aSchemaIndex
Parses the gml schema referenced bylocation
into aSchemaIndex
parse
(Configuration configuration) void
setResolver
(URL catalogLocation) Set resolver based on catalog.void
setResolver
(SchemaResolver resolver)
-
Constructor Details
-
EmfComplexFeatureReader
protected EmfComplexFeatureReader()
-
-
Method Details
-
getResolver
-
setResolver
-
setResolver
Set resolver based on catalog. Use this for testing only, because it does not support cached downloads. -
parse
- Parameters:
configuration
- configuration object used to access the XSDSchema to parse. This configuration object might containBinding
s- Throws:
IOException
-
parse
Parses the schema referenced bylocation
into aSchemaIndex
- Parameters:
nameSpace
- the location namespaceschemaLocation
- the physical location of the root xsd schema that comprises the application schema to parse.- Throws:
IOException
- if any non recoverable problem occurs while parsing the application schema pointed out bylocation
or one of its dependencies.
-
parse
Parses the gml schema referenced bylocation
into aSchemaIndex
- Parameters:
location
- the physical location of the root xsd schema that comprises the application schema to parse.- Throws:
IOException
- if any non recoverable problem occurs while parsing the application schema pointed out bylocation
or one of its dependencies.
-
findSchemaNamespace
Finds out the targetNamespace of the xsd schema referenced bylocation
- Throws:
IOException
-
newInstance
-