org.geotools.validation
Class Validator

java.lang.Object
  extended byorg.geotools.validation.Validator

public class Validator
extends java.lang.Object

Validator

Version:

Puropse:

Provides access to feature validation and integrity validation.

Description:

Feature validation will iterate over a feature reader and test all features that have a validation test specific to them in the validation processor passed in.
Integrity validation will iterate over all data stores passed in through the stores map and run the tests associated with each store.

Usage:

DOCUMENT ME!!

Author:
bowens
Created Jun 25, 2004

Constructor Summary
Validator(Repository repository, ValidationProcessor processor)
          Validator Constructor
 
Method Summary
 void featureValidation(java.lang.String dsid, FeatureReader features, ValidationResults results)
          featureValidation Purpose:
DOCUMENT ME!!
 void integrityValidation(java.util.Map featureStores, com.vividsolutions.jts.geom.Envelope bBox, ValidationResults results)
          integrityValidation Purpose:
DOCUMENT ME!!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

public Validator(Repository repository,
                 ValidationProcessor processor)
Validator Constructor

Method Detail

featureValidation

public void featureValidation(java.lang.String dsid,
                              FeatureReader features,
                              ValidationResults results)
                       throws java.io.IOException,
                              java.lang.Exception
featureValidation Purpose:

DOCUMENT ME!!

Description:

Feature validation will iterate over a feature reader and test all features that have a validation test specific to them in the validation processor passed in.

Author: bowens
Created on: Jun 25, 2004

Parameters:
dsid -
features -
Throws:
java.io.IOException
java.lang.Exception

integrityValidation

public void integrityValidation(java.util.Map featureStores,
                                com.vividsolutions.jts.geom.Envelope bBox,
                                ValidationResults results)
                         throws java.io.IOException,
                                java.lang.Exception
integrityValidation Purpose:

DOCUMENT ME!!

Description:

Integrity validation will iterate over all data stores passed in through the stores map and run the tests associated with each store.

Author: bowens
Created on: Jun 26, 2004

Parameters:
featureStores - Map of required FeatureStores by typeRef (dataStoreId:typeName)
bBox -
Throws:
java.io.IOException
java.lang.Exception


Copyright © GeoTools. All Rights Reserved.