public class AppSchemaFeatureFactoryImpl extends ValidatingFeatureFactoryImpl
FeatureFactory
that:
ff
Constructor and Description |
---|
AppSchemaFeatureFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
createAssociation, createSimpleFeature, createSimpleFeautre, getCRSFactory, getGeometryFactory, setCRSFactory, setGeometryFactory
public Attribute createAttribute(Object value, AttributeDescriptor descriptor, String id)
createAttribute
in interface FeatureFactory
createAttribute
in class AbstractFeatureFactoryImpl
value
- The value of the attribute, may be null
.descriptor
- The attribute descriptor.id
- The id of the attribute, may be null
.AbstractFeatureFactoryImpl.createAttribute(java.lang.Object,
org.opengis.feature.type.AttributeDescriptor, java.lang.String)
public GeometryAttribute createGeometryAttribute(Object value, GeometryDescriptor descriptor, String id, CoordinateReferenceSystem crs)
createGeometryAttribute
in interface FeatureFactory
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
.AbstractFeatureFactoryImpl.createGeometryAttribute(java.lang.Object,
org.opengis.feature.type.GeometryDescriptor, java.lang.String,
org.opengis.referencing.crs.CoordinateReferenceSystem)
public ComplexAttribute createComplexAttribute(Collection value, AttributeDescriptor descriptor, String id)
createComplexAttribute
in interface FeatureFactory
createComplexAttribute
in class AbstractFeatureFactoryImpl
value
- The value of the attribute, a collection of properties.descriptor
- The attribute descriptor.id
- The id of the attribute, may be null
.AbstractFeatureFactoryImpl.createComplexAttribute(java.util.Collection,
org.opengis.feature.type.AttributeDescriptor, java.lang.String)
public ComplexAttribute createComplexAttribute(Collection value, ComplexType type, String id)
createComplexAttribute
in interface FeatureFactory
createComplexAttribute
in class AbstractFeatureFactoryImpl
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
.AbstractFeatureFactoryImpl.createComplexAttribute(java.util.Collection,
org.opengis.feature.type.ComplexType, java.lang.String)
public Feature createFeature(Collection value, AttributeDescriptor descriptor, String id)
createFeature
in interface FeatureFactory
createFeature
in class AbstractFeatureFactoryImpl
value
- The value of the feature, a collection of properties.descriptor
- The attribute descriptor.id
- The id of the feature.AbstractFeatureFactoryImpl.createFeature(java.util.Collection,
org.opengis.feature.type.AttributeDescriptor, java.lang.String)
public Feature createFeature(Collection value, FeatureType type, String id)
createFeature
in interface FeatureFactory
createFeature
in class AbstractFeatureFactoryImpl
value
- The value of the feature, a collection of properties.type
- The type of the feature.id
- The id of the feature.AbstractFeatureFactoryImpl.createFeature(java.util.Collection,
org.opengis.feature.type.FeatureType, java.lang.String)
Copyright © 1996–2019 Geotools. All rights reserved.