org.geotools.validation.relate
Class RelateIntegrity

java.lang.Object
  extended byorg.geotools.validation.DefaultIntegrityValidation
      extended byorg.geotools.validation.relate.RelationIntegrity
          extended byorg.geotools.validation.relate.RelateIntegrity
All Implemented Interfaces:
IntegrityValidation, Validation

public class RelateIntegrity
extends RelationIntegrity

RelateIntegrity

Version:

Puropse:

Tests to see if a Geometry intersects with another Geometry.

Description:

If only one Geometry is given, then this test checks to see if it intersects part of itself.

Usage:

DOCUMENT ME!!

Author:
bowens
Created Apr 27, 2004

Field Summary
 
Fields inherited from class org.geotools.validation.relate.RelationIntegrity
EMPTY, expected
 
Fields inherited from interface org.geotools.validation.Validation
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
 
Constructor Summary
RelateIntegrity()
          RelateIntegrity Constructor
 
Method Summary
 java.lang.String getDe9imString()
           
 void setDe9imString(java.lang.String str)
           
 boolean validate(java.util.Map layers, com.vividsolutions.jts.geom.Envelope envelope, ValidationResults results)
          Check FeatureType for ...
 
Methods inherited from class org.geotools.validation.relate.RelationIntegrity
getGeomTypeRefA, getGeomTypeRefB, getTypeRefs, isExpected, setExpected, setExpected, setGeomTypeRefA, setGeomTypeRefB
 
Methods inherited from class org.geotools.validation.DefaultIntegrityValidation
getDescription, getName, getPriority, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelateIntegrity

public RelateIntegrity()
RelateIntegrity Constructor

Method Detail

getDe9imString

public final java.lang.String getDe9imString()

setDe9imString

public final void setDe9imString(java.lang.String str)

validate

public boolean validate(java.util.Map layers,
                        com.vividsolutions.jts.geom.Envelope envelope,
                        ValidationResults results)
                 throws java.lang.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 FeatureSource 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:
java.lang.Exception - DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.