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.wfsv.xml.v1_1_0;
06:
07: import net.opengis.wfsv.VersionedFeatureCollectionType;
08:
09: import org.geotools.feature.FeatureCollection;
10: import org.geotools.xml.*;
11:
12: import javax.xml.namespace.QName;
13:
14: /**
15: * Binding object for the type http://www.opengis.net/wfsv:VersionedFeatureCollectionType.
16: *
17: * <p>
18: * <pre>
19: * <code>
20: * <xsd:complexType name="VersionedFeatureCollectionType">
21: * <xsd:annotation>
22: * <xsd:documentation>A collection of versioned features</xsd:documentation>
23: * </xsd:annotation>
24: * <xsd:complexContent>
25: * <xsd:extension base="wfs:FeatureCollectionType">
26: * <xsd:attribute name="version" type="xsd:string" use="required"/>
27: * </xsd:extension>
28: * </xsd:complexContent>
29: * </xsd:complexType>
30: *
31: * </code>
32: * </pre>
33: * </p>
34: *
35: * @generated
36: */
37: public class VersionedFeatureCollectionTypeBinding extends
38: AbstractComplexBinding {
39:
40: /**
41: * @generated
42: */
43: public QName getTarget() {
44: return WFSV.VersionedFeatureCollectionType;
45: }
46:
47: /**
48: * <!-- begin-user-doc -->
49: * <!-- end-user-doc -->
50: *
51: * @generated modifiable
52: */
53: public Class getType() {
54: return FeatureCollection.class;
55: }
56:
57: /**
58: * <!-- begin-user-doc -->
59: * <!-- end-user-doc -->
60: *
61: * @generated modifiable
62: */
63: public Object parse(ElementInstance instance, Node node,
64: Object value) throws Exception {
65:
66: return value;
67: }
68:
69: }
|