org.geotools.feature.simple
Class SimpleSchema

java.lang.Object
  extended by org.geotools.feature.type.SchemaImpl
      extended by org.geotools.feature.simple.SimpleSchema
All Implemented Interfaces:
java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>, org.opengis.feature.type.Schema

public class SimpleSchema
extends SchemaImpl

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
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
static org.opengis.feature.type.AttributeType BOOLEAN
          BOOLEAN to Boolean.class
static org.opengis.feature.type.AttributeType BYTE
          BYTE to Byte.class
static org.opengis.feature.type.AttributeType DATE
          DATE to java.sql.Date.class
static org.opengis.feature.type.AttributeType DATETIME
          DATETIME to java.sql.Timestamp
static org.opengis.feature.type.AttributeType DOUBLE
          DOUBLE to Double.class
static org.opengis.feature.type.AttributeType FLOAT
          FLOAT to java Float.class
static org.opengis.feature.type.GeometryType GEOMETRY
          Geometry to Geometry.class
static org.opengis.feature.type.AttributeType HEXBINARY
          HEXBINRAY to byte[].class
static org.opengis.feature.type.AttributeType INT
          INT to java Integer.class
static org.opengis.feature.type.AttributeType INTEGER
          INTEGER to BigInteger
static org.opengis.feature.type.GeometryType LINESTRING
          LINESTRING (extends GEOMETRY) binds to LineString.class
static org.opengis.feature.type.AttributeType LONG
          LONG to Long.class
static org.opengis.feature.type.GeometryType MULTIGEOMETRY
          MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class
static org.opengis.feature.type.GeometryType MULTILINESTRING
          MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class
static org.opengis.feature.type.GeometryType MULTIPOINT
          MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class
static org.opengis.feature.type.GeometryType MULTIPOLYGON
          MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class
static java.lang.String NAMESPACE
           
static org.opengis.feature.type.GeometryType POINT
          POINT (extends GEOMETRY) binds to Point.class
static org.opengis.feature.type.GeometryType POLYGON
          POLYGON (extends GEOMETRY) binds to Polygon.class
static org.opengis.feature.type.AttributeType QNAME
          QNAME to byte[].class
static org.opengis.feature.type.AttributeType SHORT
          SHORT to Short.class
static org.opengis.feature.type.AttributeType STRING
          STRING to String.class
static org.opengis.feature.type.AttributeType TIME
          TIME to java.sq1.Time.class
static org.opengis.feature.type.AttributeType URI
          QNAME to byte[].class
 
Constructor Summary
SimpleSchema()
           
 
Method Summary
 
Methods inherited from class org.geotools.feature.type.SchemaImpl
add, clear, containsKey, containsValue, entrySet, equals, get, getURI, hashCode, isEmpty, keySet, profile, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAMESPACE

public static final java.lang.String NAMESPACE
See Also:
Constant Field Values

BOOLEAN

public static final org.opengis.feature.type.AttributeType BOOLEAN
BOOLEAN to Boolean.class


STRING

public static final org.opengis.feature.type.AttributeType STRING
STRING to String.class


HEXBINARY

public static final org.opengis.feature.type.AttributeType HEXBINARY
HEXBINRAY to byte[].class


QNAME

public static final org.opengis.feature.type.AttributeType QNAME
QNAME to byte[].class


URI

public static final org.opengis.feature.type.AttributeType URI
QNAME to byte[].class


INT

public static final org.opengis.feature.type.AttributeType INT
INT to java Integer.class


INTEGER

public static final org.opengis.feature.type.AttributeType INTEGER
INTEGER to BigInteger


FLOAT

public static final org.opengis.feature.type.AttributeType FLOAT
FLOAT to java Float.class


DOUBLE

public static final org.opengis.feature.type.AttributeType DOUBLE
DOUBLE to Double.class


LONG

public static final org.opengis.feature.type.AttributeType LONG
LONG to Long.class


SHORT

public static final org.opengis.feature.type.AttributeType SHORT
SHORT to Short.class


BYTE

public static final org.opengis.feature.type.AttributeType BYTE
BYTE to Byte.class


DATE

public static final org.opengis.feature.type.AttributeType DATE
DATE to java.sql.Date.class


TIME

public static final org.opengis.feature.type.AttributeType TIME
TIME to java.sq1.Time.class


DATETIME

public static final org.opengis.feature.type.AttributeType DATETIME
DATETIME to java.sql.Timestamp

Data and a Time like a timestamp.


GEOMETRY

public static final org.opengis.feature.type.GeometryType GEOMETRY
Geometry to Geometry.class


POINT

public static final org.opengis.feature.type.GeometryType POINT
POINT (extends GEOMETRY) binds to Point.class


LINESTRING

public static final org.opengis.feature.type.GeometryType LINESTRING
LINESTRING (extends GEOMETRY) binds to LineString.class


POLYGON

public static final org.opengis.feature.type.GeometryType POLYGON
POLYGON (extends GEOMETRY) binds to Polygon.class


MULTIGEOMETRY

public static final org.opengis.feature.type.GeometryType MULTIGEOMETRY
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class


MULTIPOINT

public static final org.opengis.feature.type.GeometryType MULTIPOINT
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class


MULTILINESTRING

public static final org.opengis.feature.type.GeometryType MULTILINESTRING
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class


MULTIPOLYGON

public static final org.opengis.feature.type.GeometryType MULTIPOLYGON
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class

Constructor Detail

SimpleSchema

public SimpleSchema()


Copyright © 1996-2010 Geotools. All Rights Reserved.