|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.feature.DefaultAttributeType
org.geotools.feature.type.GeometricAttributeType
Provides ...TODO summary sentence
TODO Description
Example Use:
GeometryAttributeType x = new GeometryAttributeType( ... );
TODO code example
| Field Summary | |
protected org.opengis.referencing.crs.CoordinateReferenceSystem |
coordinateSystem
CoordianteSystem used by this GeometryAttributeType |
protected com.vividsolutions.jts.geom.GeometryFactory |
geometryFactory
|
| Fields inherited from class org.geotools.feature.DefaultAttributeType |
defaultValue, max, min, name, nillable, type |
| Fields inherited from interface org.geotools.feature.AttributeType |
UNBOUNDED |
| Constructor Summary | |
GeometricAttributeType(GeometricAttributeType copy,
org.opengis.referencing.crs.CoordinateReferenceSystem override)
|
|
GeometricAttributeType(java.lang.String name,
java.lang.Class type,
boolean nillable,
int min,
int max,
java.lang.Object defaultValue,
org.opengis.referencing.crs.CoordinateReferenceSystem cs,
Filter filter)
|
|
GeometricAttributeType(java.lang.String name,
java.lang.Class type,
boolean nillable,
java.lang.Object defaultValue,
org.opengis.referencing.crs.CoordinateReferenceSystem cs,
Filter filter)
|
|
| Method Summary | |
java.lang.Object |
duplicate(java.lang.Object o)
Create a duplicate value of the passed Object. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCoordinateSystem()
Retrieve the CS_CoordinateSystem used by this GeometryAttributeType. |
com.vividsolutions.jts.geom.GeometryFactory |
getGeometryFactory()
The Geometryfactory used for creating new content. |
Filter |
getRestriction()
Restriction is assumed to be in agreement with Geometry class indicated. |
java.lang.Object |
parse(java.lang.Object value)
Allows this AttributeType to convert an argument to its prefered storage type. |
| Methods inherited from class org.geotools.feature.DefaultAttributeType |
createDefaultValue, equals, getMaxOccurs, getMinOccurs, getName, getType, hashCode, isGeometry, isNillable, toString, validate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.geotools.feature.GeometryAttributeType |
getType, isGeometry |
| Methods inherited from interface org.geotools.feature.AttributeType |
createDefaultValue, getMaxOccurs, getMinOccurs, getName, isNillable, validate |
| Field Detail |
protected org.opengis.referencing.crs.CoordinateReferenceSystem coordinateSystem
protected com.vividsolutions.jts.geom.GeometryFactory geometryFactory
| Constructor Detail |
public GeometricAttributeType(java.lang.String name,
java.lang.Class type,
boolean nillable,
int min,
int max,
java.lang.Object defaultValue,
org.opengis.referencing.crs.CoordinateReferenceSystem cs,
Filter filter)
public GeometricAttributeType(java.lang.String name,
java.lang.Class type,
boolean nillable,
java.lang.Object defaultValue,
org.opengis.referencing.crs.CoordinateReferenceSystem cs,
Filter filter)
public GeometricAttributeType(GeometricAttributeType copy,
org.opengis.referencing.crs.CoordinateReferenceSystem override)
| Method Detail |
public org.opengis.referencing.crs.CoordinateReferenceSystem getCoordinateSystem()
GeometryAttributeTypeOUT OF DATE: The class CoordinateSystem holds a GeometryFactory that is used for creating new content. By extension this includes the SRID, PercisionModel and CoordinateSequenceFactory information.
getCoordinateSystem in interface GeometryAttributeTypepublic com.vividsolutions.jts.geom.GeometryFactory getGeometryFactory()
GeometryAttributeTypeReplace with the following code:
Map hints = new HashMap();
hints.put( CoordinateReferneceSystem.class, type.getCoordinateSystem() );
GeometryFactory gf = FactoryFinder.getGeometryFactory( Map hints );
// You can now use gf create methods
getGeometryFactory in interface GeometryAttributeType
public java.lang.Object parse(java.lang.Object value)
throws java.lang.IllegalArgumentException
AttributeType
parse in interface AttributeTypeparse in class DefaultAttributeTypevalue - the object to attempt parsing of.
value converted to the preferred storage of this
AttributeType. If no parsing was possible then
the same object is returned.
java.lang.IllegalArgumentException - if parsing is attempted and is
unsuccessful.
public java.lang.Object duplicate(java.lang.Object o)
throws IllegalAttributeException
AttributeType
duplicate in interface AttributeTypeduplicate in class DefaultAttributeTypeIllegalAttributeException - if the Object cannot be duplicated.public Filter getRestriction()
GeometryAttributeType
getRestriction in interface GeometryAttributeTypegetRestriction in class DefaultAttributeType
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||