public class FeatureTypeRegistry extends Object
AttributeType
and AttributeDescriptor
lazily parsed from
the EMF XSDTypeDefinition
and XSDElementDeclaration
added through addSchemas(SchemaIndex)
.
This class is meant to be used in conjunction with EmfComplexFeatureReader
.
Constructor and Description |
---|
FeatureTypeRegistry(FeatureTypeFactory typeFactory,
FeatureTypeRegistryConfiguration helper) |
FeatureTypeRegistry(NamespaceSupport namespaces,
FeatureTypeFactory typeFactory,
FeatureTypeRegistryConfiguration helper) |
FeatureTypeRegistry(NamespaceSupport namespaces,
FeatureTypeFactory typeFactory,
FeatureTypeRegistryConfiguration helper,
boolean includeAttributes) |
Modifier and Type | Method and Description |
---|---|
void |
addSchemas(SchemaIndex schemaIndex) |
void |
disposeSchemaIndexes()
Destroy all schema Indexes.
|
AttributeType |
getAttributeType(Name typeName) |
AttributeType |
getAttributeType(Name typeName,
XSDTypeDefinition xsdType,
CoordinateReferenceSystem crs) |
AttributeDescriptor |
getDescriptor(Name descriptorName,
CoordinateReferenceSystem crs) |
AttributeType |
getXmlAttributeType() |
protected void |
importSchema(Schema schema) |
void |
register(AttributeType type) |
public FeatureTypeRegistry(FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper)
public FeatureTypeRegistry(NamespaceSupport namespaces, FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper)
public FeatureTypeRegistry(NamespaceSupport namespaces, FeatureTypeFactory typeFactory, FeatureTypeRegistryConfiguration helper, boolean includeAttributes)
public void addSchemas(SchemaIndex schemaIndex)
public void disposeSchemaIndexes()
public AttributeDescriptor getDescriptor(Name descriptorName, CoordinateReferenceSystem crs)
public AttributeType getAttributeType(Name typeName)
public AttributeType getAttributeType(Name typeName, XSDTypeDefinition xsdType, CoordinateReferenceSystem crs)
public void register(AttributeType type)
protected void importSchema(Schema schema)
public AttributeType getXmlAttributeType()
Copyright © 1996–2023 Geotools. All rights reserved.