org.deegree.services.wfs.format.gml
Class GMLFormat

java.lang.Object
  extended by org.deegree.services.wfs.format.gml.GMLFormat
All Implemented Interfaces:
Format

public class GMLFormat
extends java.lang.Object
implements Format

Default Format implementation that can handle GML 2/3.0/3.1/3.2.

Version:
$Revision: 27973 $, $Date: 2010-11-10 12:16:44 +0100 (Mi, 10. Nov 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
GMLFormat(WFSController master, GMLFormat formatDef)
           
GMLFormat(WFSController master, org.deegree.gml.GMLVersion gmlVersion)
           
 
Method Summary
 void destroy()
          Called by the WFSController to indicate that this Format is taken out of service.
 void doDescribeFeatureType(org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType request, HttpResponseBuffer response)
          Invoked by the WFSController when this output format instance is responsible for handling the request.
 void doGetFeature(org.deegree.protocol.wfs.getfeature.GetFeature request, HttpResponseBuffer response)
          Invoked by the WFSController when this output format instance is responsible for handling the request.
 void doGetGmlObject(org.deegree.protocol.wfs.getgmlobject.GetGmlObject request, HttpResponseBuffer response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLFormat

public GMLFormat(WFSController master,
                 org.deegree.gml.GMLVersion gmlVersion)

GMLFormat

public GMLFormat(WFSController master,
                 GMLFormat formatDef)
          throws ControllerInitException
Throws:
ControllerInitException
Method Detail

destroy

public void destroy()
Description copied from interface: Format
Called by the WFSController to indicate that this Format is taken out of service.

Specified by:
destroy in interface Format

doDescribeFeatureType

public void doDescribeFeatureType(org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType request,
                                  HttpResponseBuffer response)
                           throws OWSException,
                                  javax.xml.stream.XMLStreamException,
                                  java.io.IOException
Description copied from interface: Format
Invoked by the WFSController when this output format instance is responsible for handling the request.

Specified by:
doDescribeFeatureType in interface Format
response - sink for writing the respone, never null
Throws:
OWSException
javax.xml.stream.XMLStreamException
java.io.IOException

doGetFeature

public void doGetFeature(org.deegree.protocol.wfs.getfeature.GetFeature request,
                         HttpResponseBuffer response)
                  throws java.lang.Exception
Description copied from interface: Format
Invoked by the WFSController when this output format instance is responsible for handling the request.

Specified by:
doGetFeature in interface Format
response - sink for writing the respone, never null
Throws:
java.lang.Exception

doGetGmlObject

public void doGetGmlObject(org.deegree.protocol.wfs.getgmlobject.GetGmlObject request,
                           HttpResponseBuffer response)
                    throws java.lang.Exception
Specified by:
doGetGmlObject in interface Format
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.