org.geotools.validation
Class Validator

java.lang.Object
  extended by org.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 features 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, FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> features, ValidationResults results)
          featureValidation Purpose:
 void integrityValidation(java.util.Map<org.opengis.feature.type.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  java.lang.String typeRef(org.opengis.feature.type.Name name)
          Convert a Name to a type reference (namespace ":" name)
 
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,
                              FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> features,
                              ValidationResults results)
                       throws java.io.IOException,
                              java.lang.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:
java.io.IOException
java.lang.Exception

integrityValidation

public void integrityValidation(java.util.Map<org.opengis.feature.type.Name,FeatureSource<?,?>> featureStores,
                                ReferencedEnvelope bBox,
                                ValidationResults results)
                         throws java.io.IOException,
                                java.lang.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:
java.io.IOException
java.lang.Exception

typeRef

protected java.lang.String typeRef(org.opengis.feature.type.Name name)
Convert a Name to a type reference (namespace ":" name)



Copyright © 1996-2010 Geotools. All Rights Reserved.