org.geotools.validation.relate
Class OverlapsIntegrity

Object
  extended by DefaultIntegrityValidation
      extended by RelationIntegrity
          extended by OverlapsIntegrity
All Implemented Interfaces:
IntegrityValidation, Validation

public class OverlapsIntegrity
extends RelationIntegrity

OverlapsIntegrity

Author:
bowens, ptozer
Created Apr 27, 2004

Field Summary
 
Fields inherited from class RelationIntegrity
EMPTY, expected
 
Fields inherited from interface Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
OverlapsIntegrity()
          OverlapsIntegrity Constructor
 
Method Summary
static Filter filterBBox(Envelope bBox, SimpleFeatureType ft)
          Try and Filter by the provided bbox, will default to Filter.EXCLUDE if null
 boolean validate(Map layers, ReferencedEnvelope envelope, ValidationResults results)
          Check FeatureType for ...
 
Methods inherited from class RelationIntegrity
getGeomTypeRefA, getGeomTypeRefB, getTypeRefs, isExpected, setExpected, setExpected, setGeomTypeRefA, setGeomTypeRefB
 
Methods inherited from class DefaultIntegrityValidation
getDescription, getName, getPriority, setDescription, setName
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlapsIntegrity

public OverlapsIntegrity()
OverlapsIntegrity Constructor

Method Detail

validate

public boolean validate(Map layers,
                        ReferencedEnvelope envelope,
                        ValidationResults results)
                 throws Exception
Description copied from class: DefaultIntegrityValidation
Check FeatureType for ...

Detailed description...

Specified by:
validate in interface IntegrityValidation
Overrides:
validate in class DefaultIntegrityValidation
Parameters:
layers - Map of SimpleFeatureSource by "dataStoreID:typeName"
envelope - The bounding box that encloses the unvalidated data
results - Used to coallate results information
Returns:
true if all the features pass this test.
Throws:
Exception - DOCUMENT ME!

filterBBox

public static Filter filterBBox(Envelope bBox,
                                SimpleFeatureType ft)
                         throws FactoryRegistryException,
                                IllegalFilterException
Try and Filter by the provided bbox, will default to Filter.EXCLUDE if null

Throws:
FactoryRegistryException
IllegalFilterException


Copyright © 1996-2014 Geotools. All Rights Reserved.