Package org.geotools.wfs.bindings
Class LockFeatureResponseTypeBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- LockFeatureResponseTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class LockFeatureResponseTypeBinding extends AbstractComplexEMFBinding
Binding object for the type http://www.opengis.net/wfs:LockFeatureResponseType.<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>
-
-
Constructor Summary
Constructors Constructor Description LockFeatureResponseTypeBinding(WfsFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getTarget()
Class
getType()
Object
parse(ElementInstance instance, Node node, Object value)
-
Methods inherited from class AbstractComplexEMFBinding
createEObject, getProperty, setProperty
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
LockFeatureResponseTypeBinding
public LockFeatureResponseTypeBinding(WfsFactory factory)
-
-
Method Detail
-
getTarget
public QName getTarget()
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class getType()
- Specified by:
getType
in interfaceBinding
- Overrides:
getType
in classAbstractComplexEMFBinding
- Returns:
- The java type this binding maps to.
-
parse
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
- Specified by:
parse
in interfaceComplexBinding
- Overrides:
parse
in classAbstractComplexEMFBinding
- Parameters:
instance
- The element being parsed.node
- The node in the parse tree representing the element being parsed.value
- The result of the parse from another strategy in the type hierarchy. Could be null if this is the first strategy being executed.- Returns:
- The parsed object, or null if the component could not be parsed.
- Throws:
Exception
- Strategy objects should not attempt to handle any exceptions.
-
-