Class 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
    • Field Detail

      • 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()