public class GMLSchema extends SchemaImpl
Modifier and Type | Field and Description |
---|---|
static FeatureType |
ABSTRACTFEATURECOLLECTIONBASETYPE_TYPE |
static FeatureType |
ABSTRACTFEATURECOLLECTIONTYPE_TYPE |
static FeatureType |
ABSTRACTFEATURETYPE_TYPE |
static AttributeType |
ABSTRACTGEOMETRYCOLLECTIONBASETYPE_TYPE
<complexType abstract="true" name="AbstractGeometryCollectionBaseType">
<annotation>
<documentation>
This abstract base type for geometry collections just makes the
srsName attribute mandatory. |
static 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). |
static AttributeType |
BOUNDINGSHAPETYPE_TYPE
<complexType name="BoundingShapeType">
<annotation>
<documentation>
Bounding shapes--a Box or a null element are currently allowed. |
static AttributeType |
BOXTYPE_TYPE
<complexType name="BoxType">
<annotation>
<documentation>
The Box structure defines an extent using a pair of coordinate tuples. |
static 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. |
static AttributeType |
COORDTYPE_TYPE
<complexType name="CoordType">
<annotation>
<documentation>
Represents a coordinate tuple in one, two, or three dimensions. |
static 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. |
static 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. |
static AttributeType |
GEOMETRYCOLLECTIONTYPE_TYPE
<complexType name="GeometryCollectionType">
<annotation>
<documentation>
A geometry collection must include one or more geometries, referenced
through geometryMember elements. |
static AttributeType |
GEOMETRYPROPERTYTYPE_TYPE
<complexType name="GeometryPropertyType">
<annotation>
<documentation>
A simple geometry property encapsulates a geometry element. |
static AttributeType |
LINEARRINGMEMBERTYPE_TYPE
<complexType name="LinearRingMemberType">
<annotation>
<documentation>Restricts the outer or inner boundary of a polygon instance
to being a LinearRing. |
static 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. |
static AttributeType |
LINESTRINGMEMBERTYPE_TYPE
<complexType name="LineStringMemberType">
<annotation>
<documentation>Restricts the geometry member to being a LineString instance. |
static AttributeType |
LINESTRINGPROPERTYTYPE_TYPE
<complexType name="LineStringPropertyType">
<annotation>
<documentation>
Encapsulates a single LineString to represent centerLineOf or
edgeOf properties. |
static AttributeType |
LINESTRINGTYPE_TYPE
<complexType name="LineStringType">
<annotation>
<documentation>
A LineString is defined by two or more coordinate tuples, with
linear interpolation between them. |
static AttributeType |
MULTIGEOMETRYPROPERTYTYPE_TYPE
<complexType name="MultiGeometryPropertyType">
<annotation>
<documentation>Encapsulates a MultiGeometry element. |
static AttributeType |
MULTILINESTRINGPROPERTYTYPE_TYPE
<complexType name="MultiLineStringPropertyType">
<annotation>
<documentation>
Encapsulates a MultiLineString element to represent the following
discontiguous geometric properties: multiEdgeOf, multiCenterLineOf. |
static AttributeType |
MULTILINESTRINGTYPE_TYPE
<complexType name="MultiLineStringType">
<annotation>
<documentation>
A MultiLineString is defined by one or more LineStrings, referenced
through lineStringMember elements. |
static AttributeType |
MULTIPOINTPROPERTYTYPE_TYPE
<complexType name="MultiPointPropertyType">
<annotation>
<documentation>
Encapsulates a MultiPoint element to represent the following
discontiguous geometric properties: multiLocation, multiPosition,
multiCenterOf. |
static AttributeType |
MULTIPOINTTYPE_TYPE
<complexType name="MultiPointType">
<annotation>
<documentation>
A MultiPoint is defined by one or more Points, referenced through
pointMember elements. |
static AttributeType |
MULTIPOLYGONPROPERTYTYPE_TYPE
<complexType name="MultiPolygonPropertyType">
<annotation>
<documentation>
Encapsulates a MultiPolygon to represent the following discontiguous
geometric properties: multiCoverage, multiExtentOf. |
static AttributeType |
MULTIPOLYGONTYPE_TYPE
<complexType name="MultiPolygonType">
<annotation>
<documentation>
A MultiPolygon is defined by one or more Polygons, referenced through
polygonMember elements. |
static AttributeType |
NULLTYPE_TYPE
<simpleType name="NullType">
<annotation>
<documentation>
If a bounding shape is not provided for a feature collection,
explain why. |
static AttributeType |
POINTMEMBERTYPE_TYPE
<complexType name="PointMemberType">
<annotation>
<documentation>Restricts the geometry member to being a Point instance. |
static AttributeType |
POINTPROPERTYTYPE_TYPE
<complexType name="PointPropertyType">
<annotation>
<documentation>
Encapsulates a single point to represent position, location, or
centerOf properties. |
static AttributeType |
POINTTYPE_TYPE
<complexType name="PointType">
<annotation>
<documentation>
A Point is defined by a single coordinate tuple. |
static AttributeType |
POLYGONMEMBERTYPE_TYPE
<complexType name="PolygonMemberType">
<annotation>
<documentation>Restricts the geometry member to being a Polygon instance. |
static AttributeType |
POLYGONPROPERTYTYPE_TYPE
<complexType name="PolygonPropertyType">
<annotation>
<documentation>
Encapsulates a single polygon to represent coverage or extentOf
properties. |
static 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. |
Constructor and Description |
---|
GMLSchema() |
Modifier and Type | Method and Description |
---|---|
ProfileImpl |
profile()
Profile of GMLSchema capturing a unique mapping of Java classes.
|
add, clear, containsKey, containsValue, entrySet, equals, get, getURI, hashCode, isEmpty, keySet, profile, put, putAll, remove, size, toString, values
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final FeatureType ABSTRACTFEATURETYPE_TYPE
public static final FeatureType ABSTRACTFEATURECOLLECTIONBASETYPE_TYPE
public static final 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>
public static final FeatureType ABSTRACTFEATURECOLLECTIONTYPE_TYPE
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public static final 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>
public ProfileImpl profile()
This profile mostly matches to JTS Geometry classes.
Copyright © 1996–2019 Geotools. All rights reserved.