|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPropertyDescriptorImpl
AttributeDescriptorImpl
DefaultAttributeType
GeometricAttributeType
GeometryTypeImpl
.
public class GeometricAttributeType
Provides ...TODO summary sentence
TODO Description
Example Use:
GeometryAttributeType x = new GeometryAttributeType( ... );
TODO code example
modules/library/legacy (gt-legacy.jar)
Field Summary | |
---|---|
protected GeometryFactory |
geometryFactory
Deprecated. CoordianteSystem used by this GeometryAttributeType |
Fields inherited from class AttributeDescriptorImpl |
---|
defaultValue |
Fields inherited from class PropertyDescriptorImpl |
---|
isNillable, maxOccurs, minOccurs, name, type |
Constructor Summary | |
---|---|
|
GeometricAttributeType(GeometricAttributeType copy,
CoordinateReferenceSystem override)
Deprecated. |
protected |
GeometricAttributeType(GeometryType type,
Name name,
int min,
int max,
boolean isNillable,
Object defaultValue)
Deprecated. |
|
GeometricAttributeType(String name,
Class type,
boolean nillable,
int min,
int max,
Object defaultValue,
CoordinateReferenceSystem crs,
Filter filter)
Deprecated. |
|
GeometricAttributeType(String name,
Class type,
boolean nillable,
Object defaultValue,
CoordinateReferenceSystem cs,
Filter filter)
Deprecated. |
Method Summary | |
---|---|
static GeometryType |
createAttributeType(String name,
Class binding,
CoordinateReferenceSystem crs,
Filter restriction)
Deprecated. |
static CoordinateReferenceSystem |
crs(CoordinateReferenceSystem override)
Deprecated. |
Object |
duplicate(Object o)
Deprecated. Return a safe Object copy. |
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
Deprecated. |
CoordinateReferenceSystem |
getCoordinateSystem()
Deprecated. Retrieve the CS_CoordinateSystem used by this GeometryAttributeType. |
GeometryFactory |
getGeometryFactory()
Deprecated. The Geometryfactory used for creating new content. |
GeometryType |
getType()
Deprecated. |
Methods inherited from class DefaultAttributeType |
---|
createAttributeType, createDefaultValue, equals, getBinding, getBinding, getLocalName, getLocalName, getRestriction, getRestriction, hashCode, isGeometry, parse, toString, validate |
Methods inherited from class AttributeDescriptorImpl |
---|
getDefaultValue |
Methods inherited from class PropertyDescriptorImpl |
---|
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface GeometryAttributeType |
---|
getBinding, getRestriction, isGeometry |
Field Detail |
---|
protected GeometryFactory geometryFactory
Constructor Detail |
---|
public GeometricAttributeType(String name, Class type, boolean nillable, int min, int max, Object defaultValue, CoordinateReferenceSystem crs, Filter filter)
public GeometricAttributeType(String name, Class type, boolean nillable, Object defaultValue, CoordinateReferenceSystem cs, Filter filter)
public GeometricAttributeType(GeometricAttributeType copy, CoordinateReferenceSystem override)
protected GeometricAttributeType(GeometryType type, Name name, int min, int max, boolean isNillable, Object defaultValue)
Method Detail |
---|
public GeometryType getType()
getType
in interface AttributeDescriptor
getType
in interface GeometryDescriptor
getType
in interface PropertyDescriptor
getType
in class AttributeDescriptorImpl
public CoordinateReferenceSystem getCoordinateSystem()
GeometryAttributeType
OUT 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 GeometryAttributeType
public CoordinateReferenceSystem getCoordinateReferenceSystem()
getCoordinateReferenceSystem
in interface GeometryDescriptor
public GeometryFactory getGeometryFactory()
GeometryAttributeType
Replace 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 Object duplicate(Object o) throws IllegalAttributeException
DefaultAttributeType
Obtain a duplicate Object if the object is mutable, or the same Object reference if it is immutable.
duplicate
in interface AttributeType
duplicate
in class DefaultAttributeType
o
- The Object to duplicate.
IllegalAttributeException
- if the Object cannot be duplicated.public static CoordinateReferenceSystem crs(CoordinateReferenceSystem override)
public static GeometryType createAttributeType(String name, Class binding, CoordinateReferenceSystem crs, Filter restriction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |