org.geotools.wfs.bindings
Class BaseRequestTypeBinding

java.lang.Object
  extended by org.geotools.xml.AbstractComplexBinding
      extended by org.geotools.xml.AbstractComplexEMFBinding
          extended by org.geotools.wfs.bindings.BaseRequestTypeBinding
All Implemented Interfaces:
Binding, ComplexBinding

public class BaseRequestTypeBinding
extends AbstractComplexEMFBinding

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

         
  <xsd:complexType abstract="true" name="BaseRequestType">
      <xsd:annotation>
          <xsd:documentation>
              XML encoded WFS operation request base, for all operations
              except GetCapabilities.
           </xsd:documentation>
      </xsd:annotation>
      <xsd:attribute default="WFS" name="service" type="ows:ServiceType" use="optional">
          <xsd:annotation>
              <xsd:documentation>
                The service attribute is included to support service
                endpoints that implement more than one OGC service.
                For example, a single CGI that implements WMS, WFS
                and WCS services.
                The endpoint can inspect the value of this attribute
                to figure out which service should process the request.
                The value WFS indicates that a web feature service should
                process the request.
                This parameter is somewhat redundant in the XML encoding
                since the request namespace can be used to determine
                which service should process any give request.  For example,
                wfs:GetCapabilities and easily be distinguished from
                wcs:GetCapabilities using the namespaces.
             </xsd:documentation>
          </xsd:annotation>
      </xsd:attribute>
      <xsd:attribute default="1.1.0" name="version" type="xsd:string" use="optional">
          <xsd:annotation>
              <xsd:documentation>
                 The version attribute is used to indicate the version of the
                 WFS specification that a request conforms to.  All requests in
                 this schema conform to V1.1 of the WFS specification.
                 For WFS implementations that support more than one version of
                 a WFS sepcification ... if the version attribute is not
                 specified then the service should assume that the request
                 conforms to greatest available specification version.
             </xsd:documentation>
          </xsd:annotation>
      </xsd:attribute>
      <xsd:attribute name="handle" type="xsd:string" use="optional">
          <xsd:annotation>
              <xsd:documentation>
                 The handle attribute allows a client application
                 to assign a client-generated request identifier
                 to a WFS request.  The handle is included to
                 facilitate error reporting.  A WFS may report the
                 handle in an exception report to identify the
                 offending request or action.  If the handle is not
                 present, then the WFS may employ other means to
                 localize the error (e.g. line numbers).
              </xsd:documentation>
          </xsd:annotation>
      </xsd:attribute>
  </xsd:complexType>
 
         


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

Constructor Detail

BaseRequestTypeBinding

public BaseRequestTypeBinding(WfsFactory factory)
Method Detail

getTarget

public javax.xml.namespace.QName getTarget()
Returns:
The qualified name of the target for the binding.

getType

public java.lang.Class getType()

Specified by:
getType in interface Binding
Overrides:
getType in class AbstractComplexEMFBinding
Returns:
The java type this binding maps to.


Copyright © 1996-2010 Geotools. All Rights Reserved.