org.geotools.gml2
Class GMLSchema

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

public class GMLSchema
extends SchemaImpl


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.FeatureType ABSTRACTFEATURECOLLECTIONBASETYPE_TYPE
           
static org.opengis.feature.type.FeatureType ABSTRACTFEATURECOLLECTIONTYPE_TYPE
           
static org.opengis.feature.type.FeatureType ABSTRACTFEATURETYPE_TYPE
           
static org.opengis.feature.type.AttributeType ABSTRACTGEOMETRYCOLLECTIONBASETYPE_TYPE
          
static org.opengis.feature.type.AttributeType ABSTRACTGEOMETRYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType BOUNDINGSHAPETYPE_TYPE
          
static org.opengis.feature.type.AttributeType BOXTYPE_TYPE
          
static org.opengis.feature.type.AttributeType COORDINATESTYPE_TYPE
          
static org.opengis.feature.type.AttributeType COORDTYPE_TYPE
          
static org.opengis.feature.type.AttributeType FEATUREASSOCIATIONTYPE_TYPE
          
static org.opengis.feature.type.AttributeType GEOMETRYASSOCIATIONTYPE_TYPE
          
static org.opengis.feature.type.AttributeType GEOMETRYCOLLECTIONTYPE_TYPE
          
static org.opengis.feature.type.AttributeType GEOMETRYPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType LINEARRINGMEMBERTYPE_TYPE
          
static org.opengis.feature.type.AttributeType LINEARRINGTYPE_TYPE
          
static org.opengis.feature.type.AttributeType LINESTRINGMEMBERTYPE_TYPE
          
static org.opengis.feature.type.AttributeType LINESTRINGPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType LINESTRINGTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTIGEOMETRYPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTILINESTRINGPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTILINESTRINGTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTIPOINTPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTIPOINTTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTIPOLYGONPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType MULTIPOLYGONTYPE_TYPE
          
static org.opengis.feature.type.AttributeType NULLTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POINTMEMBERTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POINTPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POINTTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POLYGONMEMBERTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POLYGONPROPERTYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType POLYGONTYPE_TYPE
          
 
Constructor Summary
GMLSchema()
           
 
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

ABSTRACTGEOMETRYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType ABSTRACTGEOMETRYTYPE_TYPE

   
  <complexType abstract="true" name="AbstractGeometryType">
      <annotation>
          <documentation>
          All geometry elements are derived from this abstract supertype;
          a geometry element may have an identifying attribute (gid).
          It may be associated with a spatial reference system.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="anyType">
              <attribute name="gid" type="ID" use="optional"/>
              <attribute name="srsName" type="anyURI" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


ABSTRACTGEOMETRYCOLLECTIONBASETYPE_TYPE

public static final org.opengis.feature.type.AttributeType ABSTRACTGEOMETRYCOLLECTIONBASETYPE_TYPE

   
  <complexType abstract="true" name="AbstractGeometryCollectionBaseType">
      <annotation>
          <documentation>
          This abstract base type for geometry collections just makes the
          srsName attribute mandatory.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:AbstractGeometryType">
              <attribute name="gid" type="ID" use="optional"/>
              <attribute name="srsName" type="anyURI" use="required"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


GEOMETRYASSOCIATIONTYPE_TYPE

public static final org.opengis.feature.type.AttributeType GEOMETRYASSOCIATIONTYPE_TYPE

   
  <complexType name="GeometryAssociationType">
      <annotation>
          <documentation>
          An instance of this type (e.g. a geometryMember) can either
          enclose or point to a primitive geometry element. When serving
          as a simple link that references a remote geometry instance,
          the value of the gml:remoteSchema attribute can be used to
          locate a schema fragment that constrains the target instance.
        </documentation>
      </annotation>
      <sequence minOccurs="0">
          <element ref="gml:_Geometry"/>
      </sequence>optional

      <!-- <attributeGroup ref="gml:AssociationAttributeGroup"/> -->
      <attributeGroup ref="xlink:simpleLink"/>
      <attribute ref="gml:remoteSchema" use="optional"/>
  </complexType>

    
   


GEOMETRYCOLLECTIONTYPE_TYPE

public static final org.opengis.feature.type.AttributeType GEOMETRYCOLLECTIONTYPE_TYPE

   
  <complexType name="GeometryCollectionType">
      <annotation>
          <documentation>
          A geometry collection must include one or more geometries, referenced
          through geometryMember elements. User-defined geometry collections
          that accept GML geometry classes as members must instantiate--or
          derive from--this type.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryCollectionBaseType">
              <sequence>
                  <element maxOccurs="unbounded" ref="gml:geometryMember"/>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


COORDTYPE_TYPE

public static final org.opengis.feature.type.AttributeType COORDTYPE_TYPE

   
  <complexType name="CoordType">
      <annotation>
          <documentation>
          Represents a coordinate tuple in one, two, or three dimensions.
        </documentation>
      </annotation>
      <sequence>
          <element name="X" type="decimal"/>
          <element minOccurs="0" name="Y" type="decimal"/>
          <element minOccurs="0" name="Z" type="decimal"/>
      </sequence>
  </complexType>

    
   


COORDINATESTYPE_TYPE

public static final org.opengis.feature.type.AttributeType COORDINATESTYPE_TYPE

   
  <complexType name="CoordinatesType">
      <annotation>
          <documentation>
          Coordinates can be included in a single string, but there is no
          facility for validating string content. The value of the 'cs' attribute
          is the separator for coordinate values, and the value of the 'ts'
          attribute gives the tuple separator (a single space by default); the
          default values may be changed to reflect local usage.
        </documentation>
      </annotation>
      <simpleContent>
          <extension base="string">
              <attribute default="." name="decimal" type="string" use="optional"/>
              <attribute default="," name="cs" type="string" use="optional"/>
              <attribute default=" " name="ts" type="string" use="optional"/>
          </extension>
      </simpleContent>
  </complexType>

    
   


LINEARRINGTYPE_TYPE

public static final org.opengis.feature.type.AttributeType LINEARRINGTYPE_TYPE

   
  <complexType name="LinearRingType">
      <annotation>
          <documentation>
          A LinearRing is defined by four or more coordinate tuples, with
          linear interpolation between them; the first and last coordinates
          must be coincident.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryType">
              <sequence>
                  <choice>
                      <element maxOccurs="unbounded" minOccurs="4" ref="gml:coord"/>
                      <element ref="gml:coordinates"/>
                  </choice>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


LINEARRINGMEMBERTYPE_TYPE

public static final org.opengis.feature.type.AttributeType LINEARRINGMEMBERTYPE_TYPE

   
  <complexType name="LinearRingMemberType">
      <annotation>
          <documentation>Restricts the outer or inner boundary of a polygon instance
              to being a LinearRing.</documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:LinearRing"/>
              </sequence>
              <attributeGroup ref="gml:AssociationAttributeGroup"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


POLYGONTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POLYGONTYPE_TYPE

   
  <complexType name="PolygonType">
      <annotation>
          <documentation>
          A Polygon is defined by an outer boundary and zero or more inner
          boundaries which are in turn defined by LinearRings.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryType">
              <sequence>
                  <element ref="gml:outerBoundaryIs"/>
                  <element maxOccurs="unbounded" minOccurs="0" ref="gml:innerBoundaryIs"/>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


POLYGONMEMBERTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POLYGONMEMBERTYPE_TYPE

   
  <complexType name="PolygonMemberType">
      <annotation>
          <documentation>Restricts the geometry member to being a Polygon instance.</documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:Polygon"/>
              </sequence>
              <attributeGroup ref="gml:AssociationAttributeGroup"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTIPOLYGONTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTIPOLYGONTYPE_TYPE

   
  <complexType name="MultiPolygonType">
      <annotation>
          <documentation>
          A MultiPolygon is defined by one or more Polygons, referenced through
          polygonMember elements.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryCollectionType">
              <sequence>
                  <element maxOccurs="unbounded" ref="gml:polygonMember"/>
              </sequence>
              <attribute name="gid" type="ID" use="optional"/>
              <attribute name="srsName" type="anyURI" use="required"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTIPOLYGONPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTIPOLYGONPROPERTYTYPE_TYPE

   
  <complexType name="MultiPolygonPropertyType">
      <annotation>
          <documentation>
          Encapsulates a MultiPolygon to represent the following discontiguous
          geometric properties: multiCoverage, multiExtentOf.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:MultiPolygon"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTIGEOMETRYPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTIGEOMETRYPROPERTYTYPE_TYPE

   
  <complexType name="MultiGeometryPropertyType">
      <annotation>
          <documentation>Encapsulates a MultiGeometry element.</documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:MultiGeometry"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


LINESTRINGTYPE_TYPE

public static final org.opengis.feature.type.AttributeType LINESTRINGTYPE_TYPE

   
  <complexType name="LineStringType">
      <annotation>
          <documentation>
          A LineString is defined by two or more coordinate tuples, with
          linear interpolation between them.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryType">
              <sequence>
                  <choice>
                      <element maxOccurs="unbounded" minOccurs="2" ref="gml:coord"/>
                      <element ref="gml:coordinates"/>
                  </choice>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


LINESTRINGMEMBERTYPE_TYPE

public static final org.opengis.feature.type.AttributeType LINESTRINGMEMBERTYPE_TYPE

   
  <complexType name="LineStringMemberType">
      <annotation>
          <documentation>Restricts the geometry member to being a LineString instance.</documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:LineString"/>
              </sequence>
              <attributeGroup ref="gml:AssociationAttributeGroup"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTILINESTRINGTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTILINESTRINGTYPE_TYPE

   
  <complexType name="MultiLineStringType">
      <annotation>
          <documentation>
          A MultiLineString is defined by one or more LineStrings, referenced
          through lineStringMember elements.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryCollectionType">
              <sequence>
                  <element maxOccurs="unbounded" ref="gml:lineStringMember"/>
              </sequence>
              <attribute name="gid" type="ID" use="optional"/>
              <attribute name="srsName" type="anyURI" use="required"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTILINESTRINGPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTILINESTRINGPROPERTYTYPE_TYPE

   
  <complexType name="MultiLineStringPropertyType">
      <annotation>
          <documentation>
          Encapsulates a MultiLineString element to represent the following
          discontiguous geometric properties: multiEdgeOf, multiCenterLineOf.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:MultiLineString"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


BOXTYPE_TYPE

public static final org.opengis.feature.type.AttributeType BOXTYPE_TYPE

   
  <complexType name="BoxType">
      <annotation>
          <documentation>
          The Box structure defines an extent using a pair of coordinate tuples.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryType">
              <sequence>
                  <choice>
                      <element maxOccurs="2" minOccurs="2" ref="gml:coord"/>
                      <element ref="gml:coordinates"/>
                  </choice>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


NULLTYPE_TYPE

public static final org.opengis.feature.type.AttributeType NULLTYPE_TYPE

   
  <simpleType name="NullType">
      <annotation>
          <documentation>
          If a bounding shape is not provided for a feature collection,
          explain why. Allowable values are:
          innapplicable - the features do not have geometry
          unknown - the boundingBox cannot be computed
          unavailable - there may be a boundingBox but it is not divulged
          missing - there are no features
        </documentation>
      </annotation>
      <restriction base="string">
          <enumeration value="inapplicable"/>
          <enumeration value="unknown"/>
          <enumeration value="unavailable"/>
          <enumeration value="missing"/>
      </restriction>
  </simpleType>

    
   


BOUNDINGSHAPETYPE_TYPE

public static final org.opengis.feature.type.AttributeType BOUNDINGSHAPETYPE_TYPE

   
  <complexType name="BoundingShapeType">
      <annotation>
          <documentation>
          Bounding shapes--a Box or a null element are currently allowed.
        </documentation>
      </annotation>
      <sequence>
          <choice>
              <element ref="gml:Box"/>
              <element name="null" type="gml:NullType"/>
          </choice>
      </sequence>
  </complexType>

    
   


ABSTRACTFEATURETYPE_TYPE

public static final org.opengis.feature.type.FeatureType ABSTRACTFEATURETYPE_TYPE

ABSTRACTFEATURECOLLECTIONBASETYPE_TYPE

public static final org.opengis.feature.type.FeatureType ABSTRACTFEATURECOLLECTIONBASETYPE_TYPE

FEATUREASSOCIATIONTYPE_TYPE

public static final org.opengis.feature.type.AttributeType FEATUREASSOCIATIONTYPE_TYPE

   
  <complexType name="FeatureAssociationType">
      <annotation>
          <documentation>
          An instance of this type (e.g. a featureMember) can either
          enclose or point to a feature (or feature collection); this
          type can be restricted in an application schema to allow only
          specified features as valid participants in the association.
          When serving as a simple link that references a remote feature
          instance, the value of the gml:remoteSchema attribute can be
          used to locate a schema fragment that constrains the target
          instance.
        </documentation>
      </annotation>
      <sequence minOccurs="0">
          <element ref="gml:_Feature"/>
      </sequence>
      <attributeGroup ref="xlink:simpleLink"/>
      <attribute ref="gml:remoteSchema" use="optional"/>
  </complexType>

    
   


ABSTRACTFEATURECOLLECTIONTYPE_TYPE

public static final org.opengis.feature.type.FeatureType ABSTRACTFEATURECOLLECTIONTYPE_TYPE

GEOMETRYPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType GEOMETRYPROPERTYTYPE_TYPE

   
  <complexType name="GeometryPropertyType">
      <annotation>
          <documentation>
          A simple geometry property encapsulates a geometry element.
          Alternatively, it can function as a pointer (simple-type link)
          that refers to a remote geometry element.
        </documentation>
      </annotation>
      <sequence minOccurs="0">
          <element ref="gml:_Geometry"/>
      </sequence>
      <attributeGroup ref="xlink:simpleLink"/>
      <attribute ref="gml:remoteSchema" use="optional"/>
  </complexType>

    
   


POLYGONPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POLYGONPROPERTYTYPE_TYPE

   
  <complexType name="PolygonPropertyType">
      <annotation>
          <documentation>
          Encapsulates a single polygon to represent coverage or extentOf
          properties.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:Polygon"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


POINTTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POINTTYPE_TYPE

   
  <complexType name="PointType">
      <annotation>
          <documentation>
          A Point is defined by a single coordinate tuple.
        </documentation>
      </annotation>
      <complexContent>
          <extension base="gml:AbstractGeometryType">
              <sequence>
                  <choice>
                      <element ref="gml:coord"/>
                      <element ref="gml:coordinates"/>
                  </choice>
              </sequence>
          </extension>
      </complexContent>
  </complexType>

    
   


POINTPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POINTPROPERTYTYPE_TYPE

   
  <complexType name="PointPropertyType">
      <annotation>
          <documentation>
          Encapsulates a single point to represent position, location, or
          centerOf properties.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:Point"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


POINTMEMBERTYPE_TYPE

public static final org.opengis.feature.type.AttributeType POINTMEMBERTYPE_TYPE

   
  <complexType name="PointMemberType">
      <annotation>
          <documentation>Restricts the geometry member to being a Point instance.</documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:Point"/>
              </sequence>
              <attributeGroup ref="gml:AssociationAttributeGroup"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTIPOINTTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTIPOINTTYPE_TYPE

   
  <complexType name="MultiPointType">
      <annotation>
          <documentation>
          A MultiPoint is defined by one or more Points, referenced through
          pointMember elements.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryCollectionType">
              <sequence>
                  <element maxOccurs="unbounded" ref="gml:pointMember"/>
              </sequence>
              <attribute name="gid" type="ID" use="optional"/>
              <attribute name="srsName" type="anyURI" use="required"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


MULTIPOINTPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType MULTIPOINTPROPERTYTYPE_TYPE

   
  <complexType name="MultiPointPropertyType">
      <annotation>
          <documentation>
          Encapsulates a MultiPoint element to represent the following
          discontiguous geometric properties: multiLocation, multiPosition,
          multiCenterOf.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:MultiPoint"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   


LINESTRINGPROPERTYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType LINESTRINGPROPERTYTYPE_TYPE

   
  <complexType name="LineStringPropertyType">
      <annotation>
          <documentation>
          Encapsulates a single LineString to represent centerLineOf or
          edgeOf properties.
        </documentation>
      </annotation>
      <complexContent>
          <restriction base="gml:GeometryAssociationType">
              <sequence minOccurs="0">
                  <element ref="gml:LineString"/>
              </sequence>
              <attributeGroup ref="xlink:simpleLink"/>
              <attribute ref="gml:remoteSchema" use="optional"/>
          </restriction>
      </complexContent>
  </complexType>

    
   

Constructor Detail

GMLSchema

public GMLSchema()


Copyright © 1996-2010 Geotools. All Rights Reserved.