org.gvsig.remoteclient.wfs.wfs_1_0_0
Class WFSProtocolHandler1_0_0

java.lang.Object
  extended by org.gvsig.remoteclient.ogc.OGCProtocolHandler
      extended by org.gvsig.remoteclient.wfs.WFSProtocolHandler
          extended by org.gvsig.remoteclient.wfs.wfs_1_0_0.WFSProtocolHandler1_0_0
Direct Known Subclasses:
WFSProtocolHandler1_1_0

public class WFSProtocolHandler1_0_0
extends WFSProtocolHandler

Author:
Jorge Piera LlodrĂ¡ (piera_jor@gva.es)

Field Summary
 
Fields inherited from class org.gvsig.remoteclient.wfs.WFSProtocolHandler
currentFeature, features, serviceInfo, wfsRequestInformations
 
Fields inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler
downloader, host, name, port, version
 
Constructor Summary
WFSProtocolHandler1_0_0()
           
 
Method Summary
protected  WFSDescribeFeatureTypeRequest createDescribeFeatureTypeRequest(WFSStatus status)
           
protected  WFSGetFeatureRequest createGetFeatureRequest(WFSStatus status)
           
protected  WFSTLockFeatureRequest createLockFeatureRequest(WFSStatus status)
           
protected  WFSTransactionRequest createTransactionRequest(WFSStatus status)
           
 boolean parseCapabilities(java.io.File f)
          parses the data retrieved by the Capabilities XML document
protected  boolean parseGetFeature(java.io.File f, java.lang.String nameSpace)
          parses the data retrieved by the GetFeature XML document.
protected  boolean parseLockFeature(java.io.File f, java.lang.String nameSpace, WFSStatus status)
          parses the data retrieved by the LockFeature operation
protected  boolean parseTransaction(java.io.File f, WFSStatus status)
          parses the data retrieved by the transaction operation
 
Methods inherited from class org.gvsig.remoteclient.wfs.WFSProtocolHandler
addLastWfsRequestInformation, buildCapabilitiesSuitableVersionRequest, describeFeatureType, getCapabilities, getCurrentFeature, getFeature, getFeatures, getLastWfsRequestInformation, getServiceInformation, lockFeature, parseNamespaces, setCurrentFeature, transaction
 
Methods inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler
addOperationByAttribute, fileToBytes, getHost, getName, getPort, getSymbol, getVersion, parseHTTPTag, parserDcpType, setHost, setName, setPort, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSProtocolHandler1_0_0

public WFSProtocolHandler1_0_0()
Method Detail

createDescribeFeatureTypeRequest

protected WFSDescribeFeatureTypeRequest createDescribeFeatureTypeRequest(WFSStatus status)
Specified by:
createDescribeFeatureTypeRequest in class WFSProtocolHandler
Parameters:
status - The WFS status
Returns:
an object to send the DescribeFeatureType requests

createGetFeatureRequest

protected WFSGetFeatureRequest createGetFeatureRequest(WFSStatus status)
Specified by:
createGetFeatureRequest in class WFSProtocolHandler
Parameters:
status - The WFS status
Returns:
an object to send the GetFeature requests

createLockFeatureRequest

protected WFSTLockFeatureRequest createLockFeatureRequest(WFSStatus status)
Specified by:
createLockFeatureRequest in class WFSProtocolHandler
Parameters:
status - The WFS status
Returns:
an object to send the LockFeature requests

createTransactionRequest

protected WFSTransactionRequest createTransactionRequest(WFSStatus status)
Specified by:
createTransactionRequest in class WFSProtocolHandler
Parameters:
status - The WFS status
Returns:
an object to send the Transaction request

parseCapabilities

public boolean parseCapabilities(java.io.File f)
Description copied from class: OGCProtocolHandler
parses the data retrieved by the Capabilities XML document

Specified by:
parseCapabilities in class OGCProtocolHandler

parseGetFeature

protected boolean parseGetFeature(java.io.File f,
                                  java.lang.String nameSpace)
                           throws WFSException
Description copied from class: WFSProtocolHandler
parses the data retrieved by the GetFeature XML document. It is used just to find errors

Specified by:
parseGetFeature in class WFSProtocolHandler
Throws:
WFSException

parseLockFeature

protected boolean parseLockFeature(java.io.File f,
                                   java.lang.String nameSpace,
                                   WFSStatus status)
                            throws WFSException
Description copied from class: WFSProtocolHandler
parses the data retrieved by the LockFeature operation

Specified by:
parseLockFeature in class WFSProtocolHandler
Throws:
WFSException

parseTransaction

protected boolean parseTransaction(java.io.File f,
                                   WFSStatus status)
                            throws WFSException
Description copied from class: WFSProtocolHandler
parses the data retrieved by the transaction operation

Specified by:
parseTransaction in class WFSProtocolHandler
Parameters:
f - The retrieved file
Throws:
WFSException


Copyright © 2014 gvSIG Association. All Rights Reserved.