|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractFeatureFactoryImpl
public abstract class AbstractFeatureFactoryImpl
Factory for creating instances of the Attribute family of classes.
Constructor Summary | |
---|---|
AbstractFeatureFactoryImpl()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractFeatureFactoryImpl()
Method Detail |
---|
public CRSFactory getCRSFactory()
public void setCRSFactory(CRSFactory crsFactory)
public GeometryFactory getGeometryFactory()
public void setGeometryFactory(GeometryFactory geometryFactory)
public Association createAssociation(Attribute related, AssociationDescriptor descriptor)
FeatureFactory
createAssociation
in interface FeatureFactory
related
- The value of the association, an attribute.descriptor
- The association descriptor.public Attribute createAttribute(Object value, AttributeDescriptor descriptor, String id)
FeatureFactory
createAttribute
in interface FeatureFactory
value
- 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)
FeatureFactory
descriptor.getType()
must be an instance of GeometryType
.
createGeometryAttribute
in interface FeatureFactory
descriptor
- 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)
FeatureFactory
descriptor.getType()
must be an instance of ComplexType
.
createComplexAttribute
in interface FeatureFactory
value
- 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)
FeatureFactory
createComplexAttribute
in interface FeatureFactory
value
- 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)
FeatureFactory
descriptor.getType()
must be an instance of FeatureType
.
createFeature
in interface FeatureFactory
value
- 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)
FeatureFactory
createFeature
in interface FeatureFactory
value
- 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)
FeatureFactory
Please note that the provided array may be used directly by an implementation.
createSimpleFeature
in interface FeatureFactory
array
- 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)
FeatureFactory
descriptor.getType()
must be an instance of SimpleFeatureType
.
createSimpleFeautre
in interface FeatureFactory
array
- Object array of values; this array may be used directly.id
- The id of the feature.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |