/* * Geotools 2 - OpenSource mapping toolkit * (C) 2004, Geotools Project Managment Committee (PMC) * (C) 2004, Institut de Recherche pour le Développement * * 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; either * version 2.1 of the License, or (at your option) any later version. * * 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. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package org.geotools.resources; // Geotools dependencies import org.geotools.referencing.wkt.Formatter; /** * Interface for object that can be formatted as * Well * Known Text (WKT), but can't extends {@link org.geotools.referencing.wkt.Formattable}. * This interface is especially used for AffineTransform2D implementation. This * interface is not public because the {@code formatWKT(Formatter)} method usually has a * protected access. * * @since 2.0 * @source $URL$ * @version $Id$ * @author Martin Desruisseaux */ public interface Formattable { /** * Format the inner part of a * Well * Known Text (WKT) element. * * @param formatter The formatter to use. * @return The WKT element name (e.g. "GEOGCS"). * * @see org.geotools.referencing.wkt.Formattable#formatWKT(Formatter) */ String formatWKT(Formatter formatter); }