Package org.geotools.wfs.bindings
Class GetFeatureWithLockTypeBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- GetFeatureWithLockTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class GetFeatureWithLockTypeBinding extends AbstractComplexEMFBinding
Binding object for the type http://www.opengis.net/wfs:GetFeatureWithLockType.<xsd:complexType name="GetFeatureWithLockType"> <xsd:annotation> <xsd:documentation> A GetFeatureWithLock request operates identically to a GetFeature request expect that it attempts to lock the feature instances in the result set and includes a lock identifier in its response to a client. A lock identifier is an identifier generated by a Web Feature Service that a client application can use, in subsequent operations, to reference the locked set of feature instances. </xsd:documentation> </xsd:annotation> <xsd:complexContent> <xsd:extension base="wfs:BaseRequestType"> <xsd:sequence> <xsd:element maxOccurs="unbounded" ref="wfs:Query"/> </xsd:sequence> <xsd:attribute default="5" name="expiry" type="xsd:positiveInteger" use="optional"> <xsd:annotation> <xsd:documentation> The expiry attribute is used to set the length of time (expressed in minutes) that features will remain locked as a result of a GetFeatureWithLock request. After the expiry period elapses, the locked resources must be released. If the expiry attribute is not set, then the default value of 5 minutes will be enforced. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="results" name="resultType" type="wfs:ResultTypeType" use="optional"> <xsd:annotation> <xsd:documentation> See definition of wfs:GetFeatureType. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute default="text/xml; subtype=gml/3.1.1" name="outputFormat" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> See definition of wfs:GetFeatureType. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="maxFeatures" type="xsd:positiveInteger" use="optional"> <xsd:annotation> <xsd:documentation> See definition of wfs:GetFeatureType. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="traverseXlinkDepth" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation> See definition of wfs:GetFeatureType. </xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="traverseXlinkExpiry" type="xsd:positiveInteger" use="optional"> <xsd:annotation> <xsd:documentation> See definition of wfs:GetFeatureType. </xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>
-
-
Constructor Summary
Constructors Constructor Description GetFeatureWithLockTypeBinding(WfsFactory wfsfactory)
-
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
-
GetFeatureWithLockTypeBinding
public GetFeatureWithLockTypeBinding(WfsFactory wfsfactory)
-
-
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.
-
-