deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.owswatch.validator
Class CSWGetRecordsValidator

java.lang.Object
  extended by org.deegree.portal.owswatch.validator.AbstractValidator
      extended by org.deegree.portal.owswatch.validator.CSWGetRecordsValidator
All Implemented Interfaces:
Serializable, Validator

public class CSWGetRecordsValidator
extends AbstractValidator
implements Serializable

A specific implementation of AbstractValidator

Version:
$Revision: 20271 $, $Date: 2009-10-21 13:07:15 +0200 (Mi, 21. Okt 2009) $
Author:
Moataz Elmasry, last edited by: $Author: jmays $
See Also:
Serialized Form

Constructor Summary
CSWGetRecordsValidator()
           
 
Method Summary
 ValidatorResponse validateAnswer(org.apache.commons.httpclient.HttpMethodBase method, int statusCode)
          Recieves an instance of HttpMethodBase, extracts the needed data from it and builds a ValidatorResponse instance
protected  ValidatorResponse validateXmlServiceException(org.apache.commons.httpclient.HttpMethodBase method)
          This method is called To read the ServiceExceptionReport from the xml file
 
Methods inherited from class org.deegree.portal.owswatch.validator.AbstractValidator
closeStream, copyStream, instantiateParser, isValidHttpResponse, parseStream, validateErrorHttpResponse, validateXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSWGetRecordsValidator

public CSWGetRecordsValidator()
Method Detail

validateAnswer

public ValidatorResponse validateAnswer(org.apache.commons.httpclient.HttpMethodBase method,
                                        int statusCode)
Description copied from interface: Validator
Recieves an instance of HttpMethodBase, extracts the needed data from it and builds a ValidatorResponse instance

Specified by:
validateAnswer in interface Validator
Overrides:
validateAnswer in class AbstractValidator
Returns:
instance of ValidatorResponse extracted from HttpMethodBase

validateXmlServiceException

protected ValidatorResponse validateXmlServiceException(org.apache.commons.httpclient.HttpMethodBase method)
Description copied from class: AbstractValidator
This method is called To read the ServiceExceptionReport from the xml file

Overrides:
validateXmlServiceException in class AbstractValidator
Parameters:
method - the httpmethod after executing it
Returns:
an instance of ValidatorResponse with the necessary information after validation

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org