org.geotools.validation
Class Validator

Object
  extended by Validator

public class Validator
extends Object

Validator

Author:
bowens
Created Jun 25, 2004
Module:
modules/extension/validation (gt-validation.jar)

Constructor Summary
Validator(Repository repository, ValidationProcessor processor)
          Validator Constructor
 
Method Summary
 void featureValidation(String dsid, FeatureCollection<SimpleFeatureType,SimpleFeature> features, ValidationResults results)
          featureValidation Purpose:
DOCUMENT ME!!
 void integrityValidation(Map<Name,FeatureSource<?,?>> featureStores, ReferencedEnvelope bBox, ValidationResults results)
          Integrity validation will iterate over all data stores passed in through the stores map and run the tests associated with each store.
protected  String typeRef(Name name)
          Convert a Name to a type reference (namespace ":" name)
 
Methods inherited from class 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(String dsid,
                              FeatureCollection<SimpleFeatureType,SimpleFeature> features,
                              ValidationResults results)
                       throws IOException,
                              Exception
featureValidation Purpose:

DOCUMENT ME!!

Description:

Feature validation will iterate over a feature features 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:
IOException
Exception

integrityValidation

public void integrityValidation(Map<Name,FeatureSource<?,?>> featureStores,
                                ReferencedEnvelope bBox,
                                ValidationResults results)
                         throws IOException,
                                Exception
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:
IOException
Exception

typeRef

protected String typeRef(Name name)
Convert a Name to a type reference (namespace ":" name)



Copyright © 1996-2009 Geotools. All Rights Reserved.