org.geotools.validation.relate
Class ContainsIntegrity

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

public class ContainsIntegrity
extends RelationIntegrity

Tests to see if a Geometry is contained within another Geometry.

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


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
ContainsIntegrity()
          OverlapsIntegrity Constructor
 
Method Summary
 boolean validate(Map layers, Envelope envelope, ValidationResults results)
           
 
Methods inherited from class RelationIntegrity
getGeomTypeRefA, getGeomTypeRefB, getTypeRefs, isExpected, setExpected, setExpected, setGeomTypeRefA, setGeomTypeRefB
 
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

ContainsIntegrity

public ContainsIntegrity()
OverlapsIntegrity Constructor

Method Detail

validate

public boolean validate(Map layers,
                        Envelope envelope,
                        ValidationResults results)
                 throws Exception
Throws:
Exception


Copyright © 1996-2014 Geotools. All Rights Reserved.