Class LockFeatureTypeBinding

  • All Implemented Interfaces:
    Binding, ComplexBinding

    public class LockFeatureTypeBinding
    extends AbstractComplexEMFBinding
    Binding object for the type

      <xsd:complexType name="LockFeatureType">
                  This type defines the LockFeature operation.  The LockFeature
                  element contains one or more Lock elements that define which
                  features of a particular type should be locked.  A lock
                  identifier (lockId) is returned to the client application which
                  can be used by subsequent operations to reference the locked
              <xsd:extension base="wfs:BaseRequestType">
                      <xsd:element maxOccurs="unbounded" name="Lock" type="wfs:LockType">
                              The lock element is used to indicate which feature
                              instances of particular type are to be locked.
                  <xsd:attribute default="5" name="expiry"
                      type="xsd:positiveInteger" use="optional">
                           The expiry attribute is used to set the length
                           of time (expressed in minutes) that features will
                           remain locked as a result of a LockFeature
                           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:attribute default="ALL" name="lockAction"
                      type="wfs:AllSomeType" use="optional">
                           The lockAction attribute is used to indicate what
                           a Web Feature Service should do when it encounters
                           a feature instance that has already been locked by
                           another client application.
                           Valid values are ALL or SOME.
                           ALL means that the Web Feature Service must acquire
                           locks on all the requested feature instances.  If it
                           cannot acquire those locks then the request should
                           fail.  In this instance, all locks acquired by the
                           operation should be released.
                           SOME means that the Web Feature Service should lock
                           as many of the requested features as it can.
    • Constructor Detail

      • LockFeatureTypeBinding

        public LockFeatureTypeBinding​(WfsFactory factory)
    • Method Detail

      • getTarget

        public QName getTarget()
        The qualified name of the target for the binding.
      • parse

        public Object parse​(ElementInstance instance,
                            Node node,
                            Object value)
                     throws Exception
        Specified by:
        parse in interface ComplexBinding
        parse in class AbstractComplexEMFBinding
        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.
        The parsed object, or null if the component could not be parsed.
        Exception - Strategy objects should not attempt to handle any exceptions.