Class DeleteElementTypeBinding

  • All Implemented Interfaces:
    Binding, ComplexBinding

    public class DeleteElementTypeBinding
    extends AbstractComplexEMFBinding
    Binding object for the type

      <xsd:complexType name="DeleteElementType">
              <xsd:element maxOccurs="1" minOccurs="1" ref="ogc:Filter">
                        The Filter element is used to constrain the scope
                        of the delete operation to those features identified
                        by the filter.  Feature instances can be specified
                        explicitly and individually using the identifier of
                        each feature instance OR a set of features to be
                        operated on can be identified by specifying spatial
                        and non-spatial constraints in the filter.
                        If no filter is specified then an exception should
                        be raised since it is unlikely that a client application
                        intends to delete all feature instances.
          <xsd:attribute name="handle" type="xsd:string" use="optional">
                     The handle attribute allows a client application
                     to assign a client-generated request identifier
                     to an Insert action.  The handle is included to
                     facilitate error reporting.  If a Delete action
                     in a Transaction request fails, then a WFS may
                     include the handle in an exception report to localize
                     the error.  If no handle is included of the offending
                     Insert element then a WFS may employee other means of
                     localizing the error (e.g. line number).
          <xsd:attribute name="typeName" type="xsd:QName" use="required">
                    The value of the typeName attribute is the name
                    of the feature type to be updated. The name
                    specified must be a valid type that belongs to
                    the feature content as defined by the GML
                    Application Schema.
    • Constructor Detail

      • DeleteElementTypeBinding

        public DeleteElementTypeBinding​(WfsFactory wfsfactory)
    • 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.