01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.ows.xml.v1_0;
06:
07: import net.opengis.ows.OwsFactory;
08: import org.geotools.xml.AbstractSimpleBinding;
09: import org.geotools.xml.InstanceComponent;
10: import javax.xml.namespace.QName;
11:
12: /**
13: * Binding object for the type http://www.opengis.net/ows:PositionType2D.
14: *
15: * <p>
16: * <pre>
17: * <code>
18: * <simpleType name="PositionType2D">
19: * <annotation>
20: * <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:
21: * a) If the bounding box is continuous clear around the Earth, then longitude values of minus and plus infinity shall be used.
22: * 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>
23: * </annotation>
24: * <restriction base="ows:PositionType">
25: * <length value="2"/>
26: * </restriction>
27: * </simpleType>
28: *
29: * </code>
30: * </pre>
31: * </p>
32: *
33: * @generated
34: */
35: public class PositionType2DBinding extends AbstractSimpleBinding {
36: OwsFactory owsfactory;
37:
38: public PositionType2DBinding(OwsFactory owsfactory) {
39: this .owsfactory = owsfactory;
40: }
41:
42: /**
43: * @generated
44: */
45: public QName getTarget() {
46: return OWS.POSITIONTYPE2D;
47: }
48:
49: /**
50: * <!-- begin-user-doc -->
51: * <!-- end-user-doc -->
52: *
53: * @generated modifiable
54: */
55: public Class getType() {
56: return null;
57: }
58:
59: /**
60: * <!-- begin-user-doc -->
61: * <!-- end-user-doc -->
62: *
63: * @generated modifiable
64: */
65: public Object parse(InstanceComponent instance, Object value)
66: throws Exception {
67: //TODO: implement
68: return null;
69: }
70: }
|