public class EmfComplexFeatureReader extends Object
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.
Modifier | Constructor and Description |
---|---|
protected |
EmfComplexFeatureReader() |
Modifier and Type | Method and Description |
---|---|
String |
findSchemaNamespace(URL location)
Finds out the targetNamespace of the xsd schema referenced by
location |
SchemaResolver |
getResolver() |
static EmfComplexFeatureReader |
newInstance() |
SchemaIndex |
parse(Configuration configuration)
|
SchemaIndex |
parse(String nameSpace,
String schemaLocation)
Parses the schema referenced by
location into a SchemaIndex |
SchemaIndex |
parse(URL location)
Parses the gml schema referenced by
location into a SchemaIndex |
void |
setResolver(SchemaResolver resolver) |
void |
setResolver(URL catalogLocation)
Set resolver based on catalog.
|
public SchemaResolver getResolver()
public void setResolver(SchemaResolver resolver)
public void setResolver(URL catalogLocation)
catalogLocation
- public SchemaIndex parse(Configuration configuration) throws IOException
configuration
- configuration object used to access the XSDSchema to parse. This
configuration object might contain Binding
sIOException
public SchemaIndex parse(String nameSpace, String schemaLocation) throws IOException
location
into a SchemaIndex
nameSpace
- the location namespacelocation
- the physical location of the root xsd schema that comprises the application
schema to parse.IOException
- if any non recoverable problem occurs while parsing the application
schema pointed out by location
or one of its dependencies.public SchemaIndex parse(URL location) throws IOException
location
into a SchemaIndex
location
- the physical location of the root xsd schema that comprises the application
schema to parse.IOException
- if any non recoverable problem occurs while parsing the application
schema pointed out by location
or one of its dependencies.public String findSchemaNamespace(URL location) throws IOException
location
location
- IOException
public static EmfComplexFeatureReader newInstance()
Copyright © 1996–2019 Geotools. All rights reserved.