org.geotools.data.complex.config
Class AppSchemaFeatureTypeRegistry
Object
FeatureTypeRegistry
AppSchemaFeatureTypeRegistry
public class AppSchemaFeatureTypeRegistry
- extends FeatureTypeRegistry
A registry of GeoTools AttributeType
and AttributeDescriptor
lazily parsed from
the EMF XSDTypeDefinition
and XSDElementDeclaration
added through
FeatureTypeRegistry.addSchemas(SchemaIndex)
.
This class is meant to be used in conjunction with EmfAppSchemaReader
. See
AppSchemaDataAccessConfigurator
Usage:
FeatureTypeRegistry registry = new FeatureTypeRegistry();
EmfAppSchemaReader schemaParser = EmfAppSchemaReader.newInstance();
URL schemaLocation1 = ...
SchemaIndex schemas = schemaParser.parse(schemaLocation1, null);
registry.addSchemas(schemas);
URL schemaLocation2 = ...
schemas = schemaParser.parse(schemaLocation1, null);
registry.addSchemas(schemas);
Name typeName = ...
FeatureType ft = (FeatureType)registry.getAttributeType(typeName);
- Author:
- Gabriel Roldan
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppSchemaFeatureTypeRegistry
public AppSchemaFeatureTypeRegistry()
AppSchemaFeatureTypeRegistry
public AppSchemaFeatureTypeRegistry(NamespaceSupport namespaces)
onCreateFoundationTypes
protected void onCreateFoundationTypes()
- Overrides:
onCreateFoundationTypes
in class FeatureTypeRegistry
Copyright © 1996-2014 Geotools. All Rights Reserved.