public abstract class AbstractFeatureFactoryImpl extends Object implements FeatureFactory
| Modifier and Type | Field and Description |
|---|---|
FilterFactory2 |
ff |
| Constructor and Description |
|---|
AbstractFeatureFactoryImpl() |
public FilterFactory2 ff
public CRSFactory getCRSFactory()
public void setCRSFactory(CRSFactory crsFactory)
public GeometryFactory getGeometryFactory()
public void setGeometryFactory(GeometryFactory geometryFactory)
public Association createAssociation(Attribute related, AssociationDescriptor descriptor)
FeatureFactorycreateAssociation in interface FeatureFactoryrelated - The value of the association, an attribute.descriptor - The association descriptor.public Attribute createAttribute(Object value, AttributeDescriptor descriptor, String id)
FeatureFactorycreateAttribute in interface FeatureFactoryvalue - The value of the attribute, may be null.descriptor - The attribute descriptor.id - The id of the attribute, may be null.public GeometryAttribute createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
FeatureFactorydescriptor.getType() must be an instance of GeometryType.
createGeometryAttribute in interface FeatureFactorydescriptor - The attribute descriptor.id - The id of the attribute, may be null.crs - The coordinate reference system of the attribute, may be null.public ComplexAttribute createComplexAttribute(Collection value, AttributeDescriptor descriptor, String id)
FeatureFactorydescriptor.getType() must be an instance of ComplexType.
createComplexAttribute in interface FeatureFactoryvalue - The value of the attribute, a collection of properties.descriptor - The attribute descriptor.id - The id of the attribute, may be null.public ComplexAttribute createComplexAttribute(Collection value, ComplexType type, String id)
FeatureFactorycreateComplexAttribute in interface FeatureFactoryvalue - The value of the attribute, a collection of properties.type - The type of the attribute.id - The id of the attribute, may be null.public Feature createFeature(Collection value, AttributeDescriptor descriptor, String id)
FeatureFactorydescriptor.getType() must be an instance of FeatureType.
createFeature in interface FeatureFactoryvalue - The value of the feature, a collection of properties.descriptor - The attribute descriptor.id - The id of the feature.public Feature createFeature(Collection value, FeatureType type, String id)
FeatureFactorycreateFeature in interface FeatureFactoryvalue - The value of the feature, a collection of properties.type - The type of the feature.id - The id of the feature.public SimpleFeature createSimpleFeature(Object[] array, SimpleFeatureType type, String id)
FeatureFactoryPlease note that the provided array may be used directly by an implementation.
createSimpleFeature in interface FeatureFactoryarray - Object array of values; this array may beused directly.type - The type of the simple feature.id - The id of the feature.public SimpleFeature createSimpleFeautre(Object[] array, AttributeDescriptor descriptor, String id)
FeatureFactorydescriptor.getType() must be an instance of SimpleFeatureType.
createSimpleFeautre in interface FeatureFactoryarray - Object array of values; this array may be used directly.id - The id of the feature.Copyright © 1996–2019 Geotools. All rights reserved.