public class PositionTypeBinding extends AbstractSimpleBinding
<simpleType name="PositionType">
<annotation>
<documentation>Position instances hold the coordinates of a position in a coordinate reference system (CRS) referenced by the related "crs" attribute or elsewhere. For an angular coordinate axis that is physically continuous for multiple revolutions, but whose recorded values can be discontinuous, special conditions apply when the bounding box is continuous across the value discontinuity:
a) If the bounding box is continuous clear around this angular axis, then ordinate 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 this angular axis, then some non-normal value can be used if specified for a specific OWS use of the BoundingBoxType. For more information, see Subclauses 10.2.5 and C.13. </documentation>
<documentation>This type is adapted from DirectPositionType and doubleList of GML 3.1. The adaptations include omission of all the attributes, since the needed information is included in the BoundingBoxType. </documentation>
</annotation>
<list itemType="double"/>
</simpleType>
Constructor and Description |
---|
PositionTypeBinding() |
Modifier and Type | Method and Description |
---|---|
String |
encode(Object object,
String value)
Performs the encoding of the object as a String.
|
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
getExecutionMode
public QName getTarget()
public Class getType()
public Object parse(InstanceComponent instance, Object value) throws Exception
parse
in interface SimpleBinding
parse
in class AbstractSimpleBinding
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.Exception
public String encode(Object object, String value) throws Exception
AbstractSimpleBinding
encode
in interface SimpleBinding
encode
in class AbstractSimpleBinding
object
- The object being encoded, never null.value
- The string returned from another binding in the type hierachy, which could be
null.Exception
Copyright © 1996–2019 Geotools. All rights reserved.