/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2004-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.validation.network; import java.util.Map; import org.geotools.validation.DefaultIntegrityValidation; import org.geotools.validation.ValidationResults; import com.vividsolutions.jts.geom.Envelope; /** * StarNodeValidation purpose. * * <p> * TODO fill this in. * </p> * * @author dzwiers, Refractions Research, Inc. * @author $Author: dmzwiers $ (last modification) * * @source $URL$ * @version $Id$ */ public class AngleSizeValidation extends DefaultIntegrityValidation { private int angle; /** * StarNodeValidation constructor. * * <p> * Description * </p> */ public AngleSizeValidation() { super(); // TODO Auto-generated constructor stub } /** * Check FeatureType for ... * * <p> * Detailed description... * </p> * * @param layers Map of SimpleFeatureSource by "dataStoreID:typeName" * @param envelope The bounding box that encloses the unvalidated data * @param results Used to coallate results information * * @return <code>true</code> if all the features pass this test. * * @throws Exception DOCUMENT ME! */ public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception { results.warning(null, "Validation not yet implemented"); // TODO fill me in! return false; } /** * Access angle property. * * @return Returns the angle. */ public int getAngle() { return angle; } /** * Set angle to angle. * * @param angle The angle to set. */ public void setAngle(int angle) { this.angle = angle; } }