01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * Created on Jan 24, 2004
17: */
18: package org.geotools.validation.attributes;
19:
20: import org.geotools.feature.Feature;
21: import org.geotools.feature.FeatureType;
22: import org.geotools.validation.DefaultFeatureValidation;
23: import org.geotools.validation.ValidationResults;
24:
25: /**
26: * DomainValidation purpose.
27: *
28: * <p>
29: * TODO Explain this, no idea.
30: * </p>
31: *
32: * @author dzwiers, Refractions Research, Inc.
33: * @author $Author: dmzwiers $ (last modification)
34: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/extension/validation/src/main/java/org/geotools/validation/attributes/DomainValidation.java $
35: * @version $Id: DomainValidation.java 20884 2006-08-07 14:10:46Z jgarnett $
36: */
37: public class DomainValidation extends DefaultFeatureValidation {
38: /**
39: * DomainValidation constructor.
40: *
41: * <p>
42: * Description
43: * </p>
44: */
45: public DomainValidation() {
46: super ();
47: }
48:
49: /**
50: * Validation test for feature.
51: *
52: * <p>
53: * Description of test ...
54: * </p>
55: *
56: * @param feature The Feature to be validated
57: * @param type The FeatureType of the feature
58: * @param results The storage for error messages.
59: *
60: * @return <code>true</code> if the feature is a valid geometry.
61: *
62: * @see org.geotools.validation.FeatureValidation#validate
63: */
64: public boolean validate(Feature feature, FeatureType type,
65: ValidationResults results) {
66: return false;
67: }
68: }
|