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.wfs.xml.v1_1_0;
06:
07: import net.opengis.wfs.WfsFactory;
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/wfs:OperationType.
14: *
15: * <p>
16: * <pre>
17: * <code>
18: * <xsd:simpleType name="OperationType">
19: * <xsd:restriction base="xsd:string">
20: * <xsd:enumeration value="Insert"/>
21: * <xsd:enumeration value="Unsert"/>
22: * <xsd:enumeration value="Delete"/>
23: * <xsd:enumeration value="Query"/>
24: * <xsd:enumeration value="Lock"/>
25: * <xsd:enumeration value="GetGmlObject"/>
26: * </xsd:restriction>
27: * </xsd:simpleType>
28: *
29: * </code>
30: * </pre>
31: * </p>
32: *
33: * @generated
34: */
35: public class OperationTypeBinding extends AbstractSimpleBinding {
36: WfsFactory wfsfactory;
37:
38: public OperationTypeBinding(WfsFactory wfsfactory) {
39: this .wfsfactory = wfsfactory;
40: }
41:
42: /**
43: * @generated
44: */
45: public QName getTarget() {
46: return WFS.OPERATIONTYPE;
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: }
|