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 AttributeType
BOOLEAN to Boolean.classstatic final AttributeType
BYTE to Byte.classstatic final AttributeType
DATE to java.sql.Date.classstatic final AttributeType
DATETIME to java.sql.Timestampstatic final AttributeType
DOUBLE to Double.classstatic final AttributeType
FLOAT to java Float.classstatic final GeometryType
Geometry to Geometry.classstatic final AttributeType
HEXBINRAY to byte[].classstatic final AttributeType
INT to java Integer.classstatic final AttributeType
INTEGER to BigIntegerstatic final GeometryType
LINESTRING (extends GEOMETRY) binds to LineString.classstatic final AttributeType
LONG to Long.classstatic final GeometryType
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.classstatic final GeometryType
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.classstatic final GeometryType
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.classstatic final GeometryType
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.classstatic final String
static final GeometryType
POINT (extends GEOMETRY) binds to Point.classstatic final GeometryType
POLYGON (extends GEOMETRY) binds to Polygon.classstatic final AttributeType
QNAME to byte[].classstatic final AttributeType
SHORT to Short.classstatic final AttributeType
STRING to String.classstatic final AttributeType
TIME to java.sq1.Time.classstatic final AttributeType
QNAME 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, values
Methods 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()
-