Package org.geotools.ows.bindings
Class PositionType2DBinding
- Object
- 
- AbstractSimpleBinding
- 
- PositionType2DBinding
 
 
- 
- All Implemented Interfaces:
- Binding,- SimpleBinding
 
 public class PositionType2DBinding extends AbstractSimpleBinding Binding object for the type http://www.opengis.net/ows:PositionType2D.<simpleType name="PositionType2D"> <annotation> <documentation>Two-dimensional position instances hold the longitude and latitude coordinates of a position in the 2D WGS 84 coordinate reference system. The longitude value shall be listed first, followed by the latitude value, both in decimal degrees. Latitude values shall range from -90 to +90 degrees, and longitude values shall normally range from -180 to +180 degrees. For the longitude axis, special conditions apply when the bounding box is continuous across the +/- 180 degrees meridian longitude value discontinuity: a) If the bounding box is continuous clear around the Earth, then longitude values of minus and plus infinity shall be used. b) If the bounding box is continuous across the value discontinuity but is not continuous clear around the Earth, then some non-normal value can be used if specified for a specific OWS use of the WGS84BoundingBoxType. For more information, see Subclauses 10.4.5 and C.13. </documentation> </annotation> <restriction base="ows:PositionType"> <length value="2"/> </restriction> </simpleType>
- 
- 
Constructor SummaryConstructors Constructor Description PositionType2DBinding(Ows10Factory factory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetTarget()ClassgetType()Objectparse(InstanceComponent instance, Object value)- 
Methods inherited from class AbstractSimpleBindingencode, getExecutionMode
 
- 
 
- 
- 
- 
Constructor Detail- 
PositionType2DBindingpublic PositionType2DBinding(Ows10Factory factory) 
 
- 
 - 
Method Detail- 
getTargetpublic QName getTarget() - Returns:
- The qualified name of the target for the binding.
 
 - 
getTypepublic Class getType() - Returns:
- The java type this binding maps to.
 
 - 
parsepublic Object parse(InstanceComponent instance, Object value) throws Exception - Specified by:
- parsein interface- SimpleBinding
- Overrides:
- parsein class- AbstractSimpleBinding
- Parameters:
- instance- The component 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.
- Returns:
- The parsed object, or null if the component could not be parsed.
- Throws:
- Exception
 
 
- 
 
-