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.InsertedFeatureType;
08: import net.opengis.wfs.WfsFactory;
09: import org.geotools.xml.AbstractComplexEMFBinding;
10: import org.geotools.xml.ElementInstance;
11: import org.geotools.xml.Node;
12: import javax.xml.namespace.QName;
13:
14: /**
15: * Binding object for the type http://www.opengis.net/wfs:InsertedFeatureType.
16: *
17: * <p>
18: * <pre>
19: * <code>
20: * <xsd:complexType name="InsertedFeatureType">
21: * <xsd:sequence>
22: * <xsd:element maxOccurs="unbounded" ref="ogc:FeatureId">
23: * <xsd:annotation>
24: * <xsd:documentation xml:lang="en">
25: * This is the feature identifier for the newly created
26: * feature. The feature identifier may be generated by
27: * the WFS or provided by the client (depending on the
28: * value of the idgen attribute). In all cases of idgen
29: * values, the feature id must be reported here.
30: * </xsd:documentation>
31: * </xsd:annotation>
32: * </xsd:element>
33: * </xsd:sequence>
34: * <xsd:attribute name="handle" type="xsd:string" use="optional">
35: * <xsd:annotation>
36: * <xsd:documentation xml:lang="en">
37: * If the insert element that generated this feature
38: * had a value for the "handle" attribute then a WFS
39: * may report it using this attribute to correlate
40: * the feature created with the action that created it.
41: * </xsd:documentation>
42: * </xsd:annotation>
43: * </xsd:attribute>
44: * </xsd:complexType>
45: *
46: * </code>
47: * </pre>
48: * </p>
49: *
50: * @generated
51: */
52: public class InsertedFeatureTypeBinding extends
53: AbstractComplexEMFBinding {
54: WfsFactory wfsfactory;
55:
56: public InsertedFeatureTypeBinding(WfsFactory wfsfactory) {
57: this .wfsfactory = wfsfactory;
58: }
59:
60: /**
61: * @generated
62: */
63: public QName getTarget() {
64: return WFS.INSERTEDFEATURETYPE;
65: }
66:
67: /**
68: * <!-- begin-user-doc -->
69: * <!-- end-user-doc -->
70: *
71: * @generated modifiable
72: */
73: public Class getType() {
74: return InsertedFeatureType.class;
75: }
76:
77: /**
78: * <!-- begin-user-doc -->
79: * <!-- end-user-doc -->
80: *
81: * @generated modifiable
82: */
83: public Object parse(ElementInstance instance, Node node,
84: Object value) throws Exception {
85: //TODO: implement
86: return null;
87: }
88: }
|