org.geotools.validation.spatial
Class PolygonNotOverlappingLineValidation

Object
  extended by DefaultIntegrityValidation
      extended by PolygonLineAbstractValidation
          extended by PolygonNotOverlappingLineValidation
All Implemented Interfaces:
IntegrityValidation, Validation

public class PolygonNotOverlappingLineValidation
extends PolygonLineAbstractValidation

PolygonNotOverlappingLineValidation purpose.

Checks that the polygon is not overlapping the line.

Author:
dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)

Field Summary
 
Fields inherited from interface Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
PolygonNotOverlappingLineValidation()
          PolygonNotOverlappingLineValidation constructor.
 
Method Summary
 boolean validate(Map layers, Envelope envelope, ValidationResults results)
          Check that the polygon is not overlapping the line.
 
Methods inherited from class PolygonLineAbstractValidation
getPolygonTypeRef, getRestrictedLineTypeRef, getTypeRefs, setPolygonTypeRef, setRestrictedLineTypeRef
 
Methods inherited from class DefaultIntegrityValidation
getDescription, getName, getPriority, setDescription, setName, validate
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonNotOverlappingLineValidation

public PolygonNotOverlappingLineValidation()
PolygonNotOverlappingLineValidation constructor.

Description

Method Detail

validate

public boolean validate(Map layers,
                        Envelope envelope,
                        ValidationResults results)
                 throws Exception
Check that the polygon is not overlapping the line.

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!


Copyright © 1996-2014 Geotools. All Rights Reserved.