001 /*---------------------------------------------------------------------------- 002 This file is part of deegree, http://deegree.org/ 003 Copyright (C) 2001-2009 by: 004 Department of Geography, University of Bonn 005 and 006 lat/lon GmbH 007 008 This library is free software; you can redistribute it and/or modify it under 009 the terms of the GNU Lesser General Public License as published by the Free 010 Software Foundation; either version 2.1 of the License, or (at your option) 011 any later version. 012 This library is distributed in the hope that it will be useful, but WITHOUT 013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 014 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 015 details. 016 You should have received a copy of the GNU Lesser General Public License 017 along with this library; if not, write to the Free Software Foundation, Inc., 018 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 019 020 Contact information: 021 022 lat/lon GmbH 023 Aennchenstr. 19, 53177 Bonn 024 Germany 025 http://lat-lon.de/ 026 027 Department of Geography, University of Bonn 028 Prof. Dr. Klaus Greve 029 Postfach 1147, 53001 Bonn 030 Germany 031 http://www.geographie.uni-bonn.de/deegree/ 032 033 e-mail: info@deegree.org 034 ----------------------------------------------------------------------------*/ 035 package org.deegree.tools.importer; 036 037 import org.deegree.framework.log.ILogger; 038 import org.deegree.framework.log.LoggerFactory; 039 040 /** 041 * 042 * The <code>DefaultTransformer</code> can be used, when no transformation is neccessary. 043 * 044 * @author <a href="mailto:buesching@lat-lon.de">Lyn Buesching</a> 045 * @author last edited by: $Author: buesching $ 046 * 047 * @version $Revision: 1.1 $, $Date: 2007-10-10 14:21:26 $ 048 * 049 */ 050 public class DefaultTransformer implements Transformer { 051 052 private static final ILogger LOG = LoggerFactory.getLogger( DefaultTransformer.class ); 053 054 /** 055 * returns the inpt parameter withot changes 056 * 057 * @param objectToTransform 058 * @return the input parameter object without changes 059 */ 060 public Object transform( Object objectToTransform ) { 061 LOG.logInfo( Messages.getString( "DefaultTransformer.TRANSFORMATION_SEUCCESFUL" ) ); //$NON-NLS-1$ 062 return objectToTransform; 063 064 } 065 066 }