/* 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.wfs.xml.v1_1_0;
import net.opengis.wfs.InsertedFeatureType;
import net.opengis.wfs.WfsFactory;
import org.geotools.xml.AbstractComplexEMFBinding;
import org.geotools.xml.ElementInstance;
import org.geotools.xml.Node;
import javax.xml.namespace.QName;
/**
* Binding object for the type http://www.opengis.net/wfs:InsertedFeatureType.
*
* <p>
* <pre>
* <code>
* <xsd:complexType name="InsertedFeatureType">
* <xsd:sequence>
* <xsd:element maxOccurs="unbounded" ref="ogc:FeatureId">
* <xsd:annotation>
* <xsd:documentation xml:lang="en">
* This is the feature identifier for the newly created
* feature. The feature identifier may be generated by
* the WFS or provided by the client (depending on the
* value of the idgen attribute). In all cases of idgen
* values, the feature id must be reported here.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:element>
* </xsd:sequence>
* <xsd:attribute name="handle" type="xsd:string" use="optional">
* <xsd:annotation>
* <xsd:documentation xml:lang="en">
* If the insert element that generated this feature
* had a value for the "handle" attribute then a WFS
* may report it using this attribute to correlate
* the feature created with the action that created it.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:attribute>
* </xsd:complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public class InsertedFeatureTypeBinding extends AbstractComplexEMFBinding {
WfsFactory wfsfactory;
public InsertedFeatureTypeBinding(WfsFactory wfsfactory) {
this.wfsfactory = wfsfactory;
}
/**
* @generated
*/
public QName getTarget() {
return WFS.INSERTEDFEATURETYPE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return InsertedFeatureType.class;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
//TODO: implement
return null;
}
}