public class SpatialDomainTypeBinding extends AbstractComplexBinding
<complexType name="SpatialDomainType">
<annotation>
<documentation>Defines the spatial domain of a coverage offering. A server shall describe the spatial domain by its edges, using one or more gml:Envelope elements. The gml:EnvelopeWithTimePeriod element may be used in place of gml:Envelope, to add the time bounds of the coverage offering. Each of these elements describes a bounding box defined by two points in space (or two positions in space and two in time). This bounding box could simply duplicate the information in the lonLatEnvelope of CoverageOfferingBrief; but the intent is to describe the locations in more detail (e.g., in several different CRSs, or several rectangular areas instead of one overall bounding box).
In addition, a server can describe the internal grid structure of a coverage offering, using a gml:Grid (or gml:RectifiedGrid) in addition to a gml:Envelope. This element can help clients assess the fitness of the gridded data for their use (e.g. its native resolution, inferred from the offsetVector of a gml:RectifiedGrid), and to formulate grid coverage requests expressed in the internal grid coordinate reference system.
Finally, a server can describe the spatial domain by means of a (repeatable) gml:Polygon, representing the polygon(s) covered by the coverage spatial domain. This is particularly useful for areas that are poorly approximated by a gml:Envelope (such as satellite image swaths, island groups, other non-convex areas). </documentation>
</annotation>
<sequence>
<element maxOccurs="unbounded" ref="gml:Envelope"/>
<element maxOccurs="unbounded" minOccurs="0" ref="gml:Grid"/>
<element maxOccurs="unbounded" minOccurs="0" ref="gml:Polygon"/>
</sequence>
</complexType>
Constructor and Description |
---|
SpatialDomainTypeBinding() |
Modifier and Type | Method and Description |
---|---|
int |
getExecutionMode()
This implementation returns
Binding.OVERRIDE . |
QName |
getTarget() |
Class |
getType() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
encode, getProperties, getProperties, getProperty, initialize, initializeChildContext
public QName getTarget()
public Class getType()
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class AbstractComplexBinding
instance
- The element being parsed.node
- The node in the parse tree representing the element being parsed.value
- The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.Exception
- Strategy objects should not attempt to handle any exceptions.public int getExecutionMode()
AbstractComplexBinding
Binding.OVERRIDE
.
Subclasses should override to change this behaviour.
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractComplexBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
Copyright © 1996–2019 Geotools. All rights reserved.