org.geotools.feature
Class AppSchemaFeatureFactoryImpl

Object
  extended by AbstractFeatureFactoryImpl
      extended by ValidatingFeatureFactoryImpl
          extended by AppSchemaFeatureFactoryImpl
All Implemented Interfaces:
FeatureFactory

public class AppSchemaFeatureFactoryImpl
extends ValidatingFeatureFactoryImpl

FeatureFactory that:

Since:
2.6
Author:
Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)

Constructor Summary
AppSchemaFeatureFactoryImpl()
           
 
Method Summary
 Attribute createAttribute(Object value, AttributeDescriptor descriptor, String id)
          Create an attribute, even for null id.
 ComplexAttribute createComplexAttribute(Collection value, AttributeDescriptor descriptor, String id)
          Create a new complex attribute, even for null value or id.
 ComplexAttribute createComplexAttribute(Collection value, ComplexType type, String id)
          Create a new complex attribute, even for null value or id.
 Feature createFeature(Collection value, AttributeDescriptor descriptor, String id)
          Create a new feature, even for null value or id.
 Feature createFeature(Collection value, FeatureType type, String id)
          Create a new feature, even for null value or id.
 GeometryAttribute createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
          Create a new geometry attribute, even for null id.
 
Methods inherited from class AbstractFeatureFactoryImpl
createAssociation, createSimpleFeature, createSimpleFeautre, getCRSFactory, getGeometryFactory, setCRSFactory, setGeometryFactory
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppSchemaFeatureFactoryImpl

public AppSchemaFeatureFactoryImpl()
Method Detail

createAttribute

public Attribute createAttribute(Object value,
                                 AttributeDescriptor descriptor,
                                 String id)
Create an attribute, even for null id.

Specified by:
createAttribute in interface FeatureFactory
Overrides:
createAttribute in class AbstractFeatureFactoryImpl
Parameters:
value - The value of the attribute, may be null.
descriptor - The attribute descriptor.
id - The id of the attribute, may be null.
See Also:
AbstractFeatureFactoryImpl.createAttribute(java.lang.Object, org.opengis.feature.type.AttributeDescriptor, java.lang.String)

createGeometryAttribute

public GeometryAttribute createGeometryAttribute(Object value,
                                                 GeometryDescriptor descriptor,
                                                 String id,
                                                 CoordinateReferenceSystem crs)
Create a new geometry attribute, even for null id.

Specified by:
createGeometryAttribute in interface FeatureFactory
Overrides:
createGeometryAttribute in class AbstractFeatureFactoryImpl
descriptor - The attribute descriptor.
id - The id of the attribute, may be null.
crs - The coordinate reference system of the attribute, may be null.
See Also:
AbstractFeatureFactoryImpl.createGeometryAttribute(java.lang.Object, org.opengis.feature.type.GeometryDescriptor, java.lang.String, org.opengis.referencing.crs.CoordinateReferenceSystem)

createComplexAttribute

public ComplexAttribute createComplexAttribute(Collection value,
                                               AttributeDescriptor descriptor,
                                               String id)
Create a new complex attribute, even for null value or id.

Specified by:
createComplexAttribute in interface FeatureFactory
Overrides:
createComplexAttribute in class AbstractFeatureFactoryImpl
Parameters:
value - The value of the attribute, a collection of properties.
descriptor - The attribute descriptor.
id - The id of the attribute, may be null.
See Also:
AbstractFeatureFactoryImpl.createComplexAttribute(java.util.Collection, org.opengis.feature.type.AttributeDescriptor, java.lang.String)

createComplexAttribute

public ComplexAttribute createComplexAttribute(Collection value,
                                               ComplexType type,
                                               String id)
Create a new complex attribute, even for null value or id.

Specified by:
createComplexAttribute in interface FeatureFactory
Overrides:
createComplexAttribute in class AbstractFeatureFactoryImpl
Parameters:
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.
See Also:
AbstractFeatureFactoryImpl.createComplexAttribute(java.util.Collection, org.opengis.feature.type.ComplexType, java.lang.String)

createFeature

public Feature createFeature(Collection value,
                             AttributeDescriptor descriptor,
                             String id)
Create a new feature, even for null value or id.

Specified by:
createFeature in interface FeatureFactory
Overrides:
createFeature in class AbstractFeatureFactoryImpl
Parameters:
value - The value of the feature, a collection of properties.
descriptor - The attribute descriptor.
id - The id of the feature.
See Also:
AbstractFeatureFactoryImpl.createFeature(java.util.Collection, org.opengis.feature.type.AttributeDescriptor, java.lang.String)

createFeature

public Feature createFeature(Collection value,
                             FeatureType type,
                             String id)
Create a new feature, even for null value or id.

Specified by:
createFeature in interface FeatureFactory
Overrides:
createFeature in class AbstractFeatureFactoryImpl
Parameters:
value - The value of the feature, a collection of properties.
type - The type of the feature.
id - The id of the feature.
See Also:
AbstractFeatureFactoryImpl.createFeature(java.util.Collection, org.opengis.feature.type.FeatureType, java.lang.String)


Copyright © 1996-2014 Geotools. All Rights Reserved.