| java.lang.Object org.geotools.validation.DefaultFeatureValidation org.geotools.validation.spatial.IsValidGeometryValidation
IsValidGeometryValidation | public class IsValidGeometryValidation extends DefaultFeatureValidation (Code) | | Tests to see if a geometry is valid by calling Geometry.isValid().
The geometry is first tested to see if it is null, and if it is null, then
it is tested to see if it is allowed to be null by calling isNillable().
author: bowens, Refractions Research, Inc. author: $Author: dmzwiers $ (last modification) version: $Id: IsValidGeometryValidation.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
Method Summary | |
public int | getPriority() Override getPriority. | public String[] | getTypeNames() Override getTypeNames. | public boolean | validate(Feature feature, FeatureType type, ValidationResults results) Tests to see if a geometry is valid by calling Geometry.isValid().
The geometry is first tested to see if it is null, and if it is null,
then it is tested to see if it is allowed to be null by calling
isNillable().
Parameters: feature - The Feature to be validated Parameters: type - The FeatureTypeInfo of the feature Parameters: results - The storage for error messages. |
IsValidGeometryValidation | public IsValidGeometryValidation()(Code) | | IsValidGeometryFeatureValidation constructor.
Description
|
|
|