/* * 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.filter.text.cql2; import org.geotools.filter.text.commons.AbstractCompilerFactory; import org.geotools.filter.text.commons.ICompiler; import org.opengis.filter.FilterFactory; /** * Provides an implementation of CQLCompiler * * @author Mauricio Pazos (Axios Engineering) * @since 2.6 */ final class CQLCompilerFactory extends AbstractCompilerFactory { /* (non-Javadoc) * @see org.geotools.filter.text.commons.AbstractCompilerFactory#createCompiler(java.lang.String, org.opengis.filter.FilterFactory) */ @Override protected ICompiler createCompiler( final String predicate, final FilterFactory filterFactory) { return new CQLCompiler(predicate, filterFactory); } }