001: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
002: * This code is licensed under the GPL 2.0 license, availible at the root
003: * application directory.
004: */
005: package org.geoserver.wfs.xml.v1_1_0;
006:
007: import net.opengis.wfs.LockFeatureResponseType;
008: import net.opengis.wfs.WfsFactory;
009: import org.geotools.xml.AbstractComplexEMFBinding;
010: import org.geotools.xml.ElementInstance;
011: import org.geotools.xml.Node;
012: import javax.xml.namespace.QName;
013:
014: /**
015: * Binding object for the type http://www.opengis.net/wfs:LockFeatureResponseType.
016: *
017: * <p>
018: * <pre>
019: * <code>
020: * <xsd:complexType name="LockFeatureResponseType">
021: * <xsd:annotation>
022: * <xsd:documentation>
023: * The LockFeatureResponseType is used to define an
024: * element to contains the response to a LockFeature
025: * operation.
026: * </xsd:documentation>
027: * </xsd:annotation>
028: * <xsd:sequence>
029: * <xsd:element ref="wfs:LockId">
030: * <xsd:annotation>
031: * <xsd:documentation>
032: * The LockFeatureResponse includes a LockId element
033: * that contains a lock identifier. The lock identifier
034: * can be used by a client, in subsequent operations, to
035: * operate upon the locked feature instances.
036: * </xsd:documentation>
037: * </xsd:annotation>
038: * </xsd:element>
039: * <xsd:element minOccurs="0" name="FeaturesLocked" type="wfs:FeaturesLockedType">
040: * <xsd:annotation>
041: * <xsd:documentation>
042: * The LockFeature or GetFeatureWithLock operations
043: * identify and attempt to lock a set of feature
044: * instances that satisfy the constraints specified
045: * in the request. In the event that the lockAction
046: * attribute (on the LockFeature or GetFeatureWithLock
047: * elements) is set to SOME, a Web Feature Service will
048: * attempt to lock as many of the feature instances from
049: * the result set as possible.
050: *
051: * The FeaturesLocked element contains list of ogc:FeatureId
052: * elements enumerating the feature instances that a WFS
053: * actually managed to lock.
054: * </xsd:documentation>
055: * </xsd:annotation>
056: * </xsd:element>
057: * <xsd:element minOccurs="0" name="FeaturesNotLocked" type="wfs:FeaturesNotLockedType">
058: * <xsd:annotation>
059: * <xsd:documentation>
060: * In contrast to the FeaturesLocked element, the
061: * FeaturesNotLocked element contains a list of
062: * ogc:Filter elements identifying feature instances
063: * that a WFS did not manage to lock because they were
064: * already locked by another process.
065: * </xsd:documentation>
066: * </xsd:annotation>
067: * </xsd:element>
068: * </xsd:sequence>
069: * </xsd:complexType>
070: *
071: * </code>
072: * </pre>
073: * </p>
074: *
075: * @generated
076: */
077: public class LockFeatureResponseTypeBinding extends
078: AbstractComplexEMFBinding {
079: WfsFactory wfsfactory;
080:
081: public LockFeatureResponseTypeBinding(WfsFactory wfsfactory) {
082: this .wfsfactory = wfsfactory;
083: }
084:
085: /**
086: * @generated
087: */
088: public QName getTarget() {
089: return WFS.LOCKFEATURERESPONSETYPE;
090: }
091:
092: /**
093: * <!-- begin-user-doc -->
094: * <!-- end-user-doc -->
095: *
096: * @generated modifiable
097: */
098: public Class getType() {
099: return LockFeatureResponseType.class;
100: }
101:
102: /**
103: * <!-- begin-user-doc -->
104: * <!-- end-user-doc -->
105: *
106: * @generated modifiable
107: */
108: public Object parse(ElementInstance instance, Node node,
109: Object value) throws Exception {
110: //TODO: implement
111: return null;
112: }
113: }
|