/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, availible at the root
* application directory.
*/
package org.geoserver.wfsv.xml.v1_1_0;
import javax.xml.namespace.QName;
import org.geotools.feature.FeatureCollection;
import org.geotools.xml.AbstractComplexBinding;
import org.geotools.xml.ElementInstance;
import org.geotools.xml.Node;
/**
* Binding object for the type http://www.opengis.net/wfsv:VersionedFeatureCollectionType.
*
* <p>
* <pre>
* <code>
* <xsd:complexType name="VersionedFeatureCollectionType">
* <xsd:annotation>
* <xsd:documentation>A collection of versioned features</xsd:documentation>
* </xsd:annotation>
* <xsd:complexContent>
* <xsd:extension base="wfs:FeatureCollectionType">
* <xsd:attribute name="version" type="xsd:string" use="required"/>
* </xsd:extension>
* </xsd:complexContent>
* </xsd:complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public class VersionedFeatureCollectionTypeBinding extends AbstractComplexBinding {
/**
* @generated
*/
public QName getTarget() {
return WFSV.VersionedFeatureCollectionType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return FeatureCollection.class;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
return value;
}
}