org.geotools.feature.simple
Class SimpleSchema

Object
  extended by SchemaImpl
      extended by SimpleSchema
All Implemented Interfaces:
Map<Name,AttributeType>, 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 Map
Map.Entry<K,V>
 
Field Summary
static AttributeType BOOLEAN
          BOOLEAN to Boolean.class
static AttributeType BYTE
          BYTE to Byte.class
static AttributeType DATE
          DATE to java.sql.Date.class
static AttributeType DATETIME
          DATETIME to java.sql.Timestamp Data and a Time like a timestamp.
static AttributeType DOUBLE
          DOUBLE to Double.class
static AttributeType FLOAT
          FLOAT to java Float.class
static GeometryType GEOMETRY
          Geometry to Geometry.class
static AttributeType HEXBINARY
          HEXBINRAY to byte[].class
static AttributeType INT
          INT to java Integer.class
static AttributeType INTEGER
          INTEGER to BigInteger
static GeometryType LINESTRING
          LINESTRING (extends GEOMETRY) binds to LineString.class
static AttributeType LONG
          LONG to Long.class
static GeometryType MULTIGEOMETRY
          MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class
static GeometryType MULTILINESTRING
          MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class
static GeometryType MULTIPOINT
          MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class
static GeometryType MULTIPOLYGON
          MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class
static String NAMESPACE
           
static GeometryType POINT
          POINT (extends GEOMETRY) binds to Point.class
static GeometryType POLYGON
          POLYGON (extends GEOMETRY) binds to Polygon.class
static AttributeType QNAME
          QNAME to byte[].class
static AttributeType SHORT
          SHORT to Short.class
static AttributeType STRING
          STRING to String.class
static AttributeType TIME
          TIME to java.sq1.Time.class
static AttributeType URI
          QNAME to byte[].class
 
Constructor Summary
SimpleSchema()
           
 
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 class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAMESPACE

public static final String NAMESPACE
See Also:
Constant Field Values

BOOLEAN

public static final AttributeType BOOLEAN
BOOLEAN to Boolean.class


STRING

public static final AttributeType STRING
STRING to String.class


HEXBINARY

public static final AttributeType HEXBINARY
HEXBINRAY to byte[].class


QNAME

public static final AttributeType QNAME
QNAME to byte[].class


URI

public static final AttributeType URI
QNAME to byte[].class


INT

public static final AttributeType INT
INT to java Integer.class


INTEGER

public static final AttributeType INTEGER
INTEGER to BigInteger


FLOAT

public static final AttributeType FLOAT
FLOAT to java Float.class


DOUBLE

public static final AttributeType DOUBLE
DOUBLE to Double.class


LONG

public static final AttributeType LONG
LONG to Long.class


SHORT

public static final AttributeType SHORT
SHORT to Short.class


BYTE

public static final AttributeType BYTE
BYTE to Byte.class


DATE

public static final AttributeType DATE
DATE to java.sql.Date.class


TIME

public static final AttributeType TIME
TIME to java.sq1.Time.class


DATETIME

public static final AttributeType DATETIME
DATETIME to java.sql.Timestamp

Data and a Time like a timestamp.


GEOMETRY

public static final GeometryType GEOMETRY
Geometry to Geometry.class


POINT

public static final GeometryType POINT
POINT (extends GEOMETRY) binds to Point.class


LINESTRING

public static final GeometryType LINESTRING
LINESTRING (extends GEOMETRY) binds to LineString.class


POLYGON

public static final GeometryType POLYGON
POLYGON (extends GEOMETRY) binds to Polygon.class


MULTIGEOMETRY

public static final GeometryType MULTIGEOMETRY
MULTIGEOMETRY (extends GEOMETRY) binds to GeometryCollection.class


MULTIPOINT

public static final GeometryType MULTIPOINT
MULTIPOINT (extends MULTIGEOMETRY) binds to MultiPoint.class


MULTILINESTRING

public static final GeometryType MULTILINESTRING
MULTILINESTRING (extends MULTIGEOMETRY) binds to MultiLineString.class


MULTIPOLYGON

public static final GeometryType MULTIPOLYGON
MULTIPOLYGON (extends MULTIGEOMETRY) binds to MultiPolygon.class

Constructor Detail

SimpleSchema

public SimpleSchema()


Copyright © 1996-2014 Geotools. All Rights Reserved.