|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for the construction of Features.
Geotools 2.0: As Features always require a FeatureType the best place to implement this is in the FeatureType itself, thus the FeatureType interface extends this interface. Other FeatureFactories may be implemented, but they should probably be constructed with a FeatureType.
Geotools 2.1: This class is under revision, pleae help out with feedback. Please see experimental FeatureFactory2 (a subclass) for the current best idea of what is needed.
Method Summary | |
Feature |
create(java.lang.Object[] attributes)
Deprecated. Schema information is required |
Feature |
create(java.lang.Object[] attributes,
java.lang.String featureID)
Deprecated. Schema information is required |
Method Detail |
public Feature create(java.lang.Object[] attributes) throws IllegalAttributeException
attributes
- the array of attribute values
IllegalAttributeException
- if the FeatureType does not validate
the attributes.public Feature create(java.lang.Object[] attributes, java.lang.String featureID) throws IllegalAttributeException
attributes
- the array of attribute values.featureID
- the feature ID.
IllegalAttributeException
- if the FeatureType does not validate
the attributes.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |