org.geotools.wfs.bindings
Class ActionTypeBinding

Object
  extended by AbstractComplexBinding
      extended by AbstractComplexEMFBinding
          extended by ActionTypeBinding
All Implemented Interfaces:
Binding, ComplexBinding

public class ActionTypeBinding
extends AbstractComplexEMFBinding

Binding object for the type http://www.opengis.net/wfs:ActionType.

         
  <xsd:complexType name="ActionType">
      <xsd:sequence>
          <xsd:element maxOccurs="1" minOccurs="0" name="Message" type="xsd:string">
              <xsd:annotation>
                  <xsd:documentation>
                    If an action fails, the message element may be used
                    to supply an exception message.
                 </xsd:documentation>
              </xsd:annotation>
          </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="locator" type="xsd:string" use="required">
          <xsd:annotation>
              <xsd:documentation>
                 The locator attribute is used to locate an action
                 within a <Transaction> element.  The value
                 of the locator attribute is either a string that
                 is equal to the value of the handle attribute
                 specified on an  <Insert>, <Update>
                 or <Delete> action.  If a value is not
                 specified for the handle attribute then a WFS
                 may employ some other means of locating the
                 action.  For example, the value of the locator
                 attribute may be an integer indicating the order
                 of the action (i.e. 1=First action, 2=Second action,
                 etc.).
              </xsd:documentation>
          </xsd:annotation>
      </xsd:attribute>
      <xsd:attribute name="code" type="xsd:string" use="optional">
          <xsd:annotation>
              <xsd:documentation>
                 The code attribute may be used to specify an
                 exception code indicating why an action failed.
              </xsd:documentation>
          </xsd:annotation>
      </xsd:attribute>
  </xsd:complexType>

          
         


Field Summary
 
Fields inherited from interface Binding
AFTER, BEFORE, OVERRIDE
 
Constructor Summary
ActionTypeBinding(WfsFactory factory)
           
 
Method Summary
 QName getTarget()
           
 Class getType()
           
 
Methods inherited from class AbstractComplexEMFBinding
createEObject, getProperty, parse, setProperty
 
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initializeChildContext
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionTypeBinding

public ActionTypeBinding(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 interface Binding
Overrides:
getType in class AbstractComplexEMFBinding
Returns:
The java type this binding maps to.


Copyright © 1996-2009 Geotools. All Rights Reserved.