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