org.geotools.feature
Class AbstractFeatureFactoryImpl

Object
  extended by AbstractFeatureFactoryImpl
All Implemented Interfaces:
FeatureFactory
Direct Known Subclasses:
DefaultFeatureFactory, LenientFeatureFactory, LenientFeatureFactoryImpl, ValidatingFeatureFactoryImpl

public abstract class AbstractFeatureFactoryImpl
extends Object
implements FeatureFactory

Factory for creating instances of the Attribute family of classes.

Author:
Ian Schneider, Gabriel Roldan, Justin Deoliveira
Module:
modules/library/main (gt-main.jar)

Constructor Summary
AbstractFeatureFactoryImpl()
           
 
Method Summary
 Association createAssociation(Attribute related, AssociationDescriptor descriptor)
           
 Attribute createAttribute(Object value, AttributeDescriptor descriptor, String id)
           
 ComplexAttribute createComplexAttribute(Collection value, AttributeDescriptor descriptor, String id)
           
 ComplexAttribute createComplexAttribute(Collection value, ComplexType type, String id)
           
 Feature createFeature(Collection value, AttributeDescriptor descriptor, String id)
           
 Feature createFeature(Collection value, FeatureType type, String id)
           
 GeometryAttribute createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
           
 SimpleFeature createSimpleFeature(Object[] array, SimpleFeatureType type, String id)
           
 SimpleFeature createSimpleFeautre(Object[] array, AttributeDescriptor descriptor, String id)
           
 CRSFactory getCRSFactory()
           
 GeometryFactory getGeometryFactory()
           
 void setCRSFactory(CRSFactory crsFactory)
           
 void setGeometryFactory(GeometryFactory geometryFactory)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFeatureFactoryImpl

public AbstractFeatureFactoryImpl()
Method Detail

getCRSFactory

public CRSFactory getCRSFactory()

setCRSFactory

public void setCRSFactory(CRSFactory crsFactory)

getGeometryFactory

public GeometryFactory getGeometryFactory()

setGeometryFactory

public void setGeometryFactory(GeometryFactory geometryFactory)

createAssociation

public Association createAssociation(Attribute related,
                                     AssociationDescriptor descriptor)
Specified by:
createAssociation in interface FeatureFactory

createAttribute

public Attribute createAttribute(Object value,
                                 AttributeDescriptor descriptor,
                                 String id)
Specified by:
createAttribute in interface FeatureFactory

createGeometryAttribute

public GeometryAttribute createGeometryAttribute(Object value,
                                                 GeometryDescriptor descriptor,
                                                 String id,
                                                 CoordinateReferenceSystem crs)
Specified by:
createGeometryAttribute in interface FeatureFactory

createComplexAttribute

public ComplexAttribute createComplexAttribute(Collection value,
                                               AttributeDescriptor descriptor,
                                               String id)
Specified by:
createComplexAttribute in interface FeatureFactory

createComplexAttribute

public ComplexAttribute createComplexAttribute(Collection value,
                                               ComplexType type,
                                               String id)
Specified by:
createComplexAttribute in interface FeatureFactory

createFeature

public Feature createFeature(Collection value,
                             AttributeDescriptor descriptor,
                             String id)
Specified by:
createFeature in interface FeatureFactory

createFeature

public Feature createFeature(Collection value,
                             FeatureType type,
                             String id)
Specified by:
createFeature in interface FeatureFactory

createSimpleFeature

public SimpleFeature createSimpleFeature(Object[] array,
                                         SimpleFeatureType type,
                                         String id)
Specified by:
createSimpleFeature in interface FeatureFactory

createSimpleFeautre

public SimpleFeature createSimpleFeautre(Object[] array,
                                         AttributeDescriptor descriptor,
                                         String id)
Specified by:
createSimpleFeautre in interface FeatureFactory


Copyright © 1996-2010 Geotools. All Rights Reserved.