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:ServiceType.
14: *
15: * <p>
16: * <pre>
17: * <code>
18: * <simpleType name="ServiceType">
19: * <annotation>
20: * <documentation>Service type identifier, where the string value is the OWS type abbreviation, such as "WMS" or "WFS". </documentation>
21: * </annotation>
22: * <restriction base="string"/>
23: * </simpleType>
24: *
25: * </code>
26: * </pre>
27: * </p>
28: *
29: * @generated
30: */
31: public class ServiceTypeBinding extends AbstractSimpleBinding {
32: OwsFactory owsfactory;
33:
34: public ServiceTypeBinding(OwsFactory owsfactory) {
35: this .owsfactory = owsfactory;
36: }
37:
38: /**
39: * @generated
40: */
41: public QName getTarget() {
42: return OWS.SERVICETYPE;
43: }
44:
45: /**
46: * <!-- begin-user-doc -->
47: * <!-- end-user-doc -->
48: *
49: * @generated modifiable
50: */
51: public Class getType() {
52: return null;
53: }
54:
55: /**
56: * <!-- begin-user-doc -->
57: * <!-- end-user-doc -->
58: *
59: * @generated modifiable
60: */
61: public Object parse(InstanceComponent instance, Object value)
62: throws Exception {
63: //TODO: implement
64: return null;
65: }
66: }
|