package org.geotools.wfs.v2_0;
import net.opengis.wfs.FeatureCollectionType;
import net.opengis.wfs.WfsFactory;
import org.geotools.gml3.GML;
import org.geotools.xml.*;
import javax.xml.namespace.QName;
/**
* Binding object for the type http://www.opengis.net/wfs/2.0:FeatureCollectionType.
*
* <p>
*
* <pre>
* <code>
* <xsd:complexType name="FeatureCollectionType">
* <xsd:complexContent>
* <xsd:extension base="wfs:SimpleFeatureCollectionType">
* <xsd:sequence>
* <xsd:element minOccurs="0" name="AdditionalObjects" type="wfs:SimpleValueCollectionType"/>
* <xsd:element minOccurs="0" ref="wfs:TruncatedResponse"/>
* </xsd:sequence>
* <xsd:attributeGroup ref="wfs:StandardResponseParameters"/>
* </xsd:extension>
* </xsd:complexContent>
* </xsd:complexType>
*
* </code>
* </pre>
*
* </p>
*
* @generated
*
* @source $URL: http://svn.osgeo.org/geotools/branches/2.7.x/build/maven/javadoc/../../../modules/extension/xsd/xsd-wfs/src/main/java/org/geotools/wfs/v2_0/FeatureCollectionTypeBinding.java $
*/
public class FeatureCollectionTypeBinding extends
org.geotools.wfs.bindings.FeatureCollectionTypeBinding {
public FeatureCollectionTypeBinding(WfsFactory factory) {
super(factory);
}
/**
* @generated
*/
public QName getTarget() {
return WFS.FeatureCollectionType;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value) throws Exception {
// TODO: implement and remove call to super
return super.parse(instance, node, value);
}
@Override
public Object getProperty(Object object, QName name) throws Exception {
if (WFS.member.equals(name)) {
return super.getProperty(object, GML.featureMember);
}
return super.getProperty(object, name);
}
}