org.deegree.portal.owswatch.validator
Class CSWGetRecordsValidator
java.lang.Object
org.deegree.portal.owswatch.validator.AbstractValidator
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSWGetRecordsValidator
public CSWGetRecordsValidator()
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org