/* 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.LockFeatureResponseType;
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:LockFeatureResponseType.
*
* <p>
* <pre>
* <code>
* <xsd:complexType name="LockFeatureResponseType">
* <xsd:annotation>
* <xsd:documentation>
* The LockFeatureResponseType is used to define an
* element to contains the response to a LockFeature
* operation.
* </xsd:documentation>
* </xsd:annotation>
* <xsd:sequence>
* <xsd:element ref="wfs:LockId">
* <xsd:annotation>
* <xsd:documentation>
* The LockFeatureResponse includes a LockId element
* that contains a lock identifier. The lock identifier
* can be used by a client, in subsequent operations, to
* operate upon the locked feature instances.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:element>
* <xsd:element minOccurs="0" name="FeaturesLocked" type="wfs:FeaturesLockedType">
* <xsd:annotation>
* <xsd:documentation>
* The LockFeature or GetFeatureWithLock operations
* identify and attempt to lock a set of feature
* instances that satisfy the constraints specified
* in the request. In the event that the lockAction
* attribute (on the LockFeature or GetFeatureWithLock
* elements) is set to SOME, a Web Feature Service will
* attempt to lock as many of the feature instances from
* the result set as possible.
*
* The FeaturesLocked element contains list of ogc:FeatureId
* elements enumerating the feature instances that a WFS
* actually managed to lock.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:element>
* <xsd:element minOccurs="0" name="FeaturesNotLocked" type="wfs:FeaturesNotLockedType">
* <xsd:annotation>
* <xsd:documentation>
* In contrast to the FeaturesLocked element, the
* FeaturesNotLocked element contains a list of
* ogc:Filter elements identifying feature instances
* that a WFS did not manage to lock because they were
* already locked by another process.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:element>
* </xsd:sequence>
* </xsd:complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public class LockFeatureResponseTypeBinding extends AbstractComplexEMFBinding {
WfsFactory wfsfactory;
public LockFeatureResponseTypeBinding(WfsFactory wfsfactory) {
this.wfsfactory = wfsfactory;
}
/**
* @generated
*/
public QName getTarget() {
return WFS.LOCKFEATURERESPONSETYPE;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return LockFeatureResponseType.class;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
//TODO: implement
return null;
}
}