Package org.geotools.feature.simple
Class SimpleSchema
Object
SchemaImpl
SimpleSchema
- All Implemented Interfaces:
Map<Name,,AttributeType> Schema
Schema containing a set of "simple" types.
This schema is used to create features with simple content. It contains attribute types which correspond to xml schema types from the xml schema and gml namespaces.
The attribute types in this schema maintain a unique mapping to java classes so it can be used to map from java class to attribute type and vice versa.
- Author:
- Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributeTypeBOOLEAN to Boolean.classstatic final AttributeTypeBYTE to Byte.classstatic final AttributeTypeDATE to java.sql.Date.classstatic final AttributeTypeDATETIME to java.sql.Timestampstatic final AttributeTypeDOUBLE to Double.classstatic final AttributeTypeFLOAT to java Float.classstatic final GeometryTypeGeometry to Geometry.classstatic final AttributeTypeHEXBINRAY to byte[].classstatic final AttributeTypeINT to java Integer.classstatic final AttributeTypeINTEGER to BigIntegerstatic final GeometryTypeLINESTRING (extends GEOMETRY) binds to LineString.classstatic final AttributeTypeLONG to Long.classstatic final GeometryTypeMULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.classstatic final GeometryTypeMULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.classstatic final GeometryTypeMULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.classstatic final GeometryTypeMULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.classstatic final Stringstatic final GeometryTypePOINT (extends GEOMETRY) binds to Point.classstatic final GeometryTypePOLYGON (extends GEOMETRY) binds to Polygon.classstatic final AttributeTypeQNAME to byte[].classstatic final AttributeTypeSHORT to Short.classstatic final AttributeTypeSTRING to String.classstatic final AttributeTypeTIME to java.sq1.Time.classstatic final AttributeTypeQNAME to byte[].class -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SchemaImpl
add, clear, containsKey, containsValue, entrySet, equals, get, getURI, hashCode, isEmpty, keySet, profile, put, putAll, remove, size, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
NAMESPACE
- See Also:
-
BOOLEAN
BOOLEAN to Boolean.class -
STRING
STRING to String.class -
HEXBINARY
HEXBINRAY to byte[].class -
QNAME
QNAME to byte[].class -
URI
QNAME to byte[].class -
INT
INT to java Integer.class -
INTEGER
INTEGER to BigInteger -
FLOAT
FLOAT to java Float.class -
DOUBLE
DOUBLE to Double.class -
LONG
LONG to Long.class -
SHORT
SHORT to Short.class -
BYTE
BYTE to Byte.class -
DATE
DATE to java.sql.Date.class -
TIME
TIME to java.sq1.Time.class -
DATETIME
DATETIME to java.sql.TimestampData and a Time like a timestamp.
-
GEOMETRY
Geometry to Geometry.class -
POINT
POINT (extends GEOMETRY) binds to Point.class -
LINESTRING
LINESTRING (extends GEOMETRY) binds to LineString.class -
POLYGON
POLYGON (extends GEOMETRY) binds to Polygon.class -
MULTIGEOMETRY
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class -
MULTIPOINT
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class -
MULTILINESTRING
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class -
MULTIPOLYGON
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class
-
-
Constructor Details
-
SimpleSchema
public SimpleSchema()
-