/*$************************************************************************************************
**
** $Id: Literal.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/filter/expression/Literal.java $
**
** Copyright (C) 2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.filter.expression;
// Annotations
import org.opengis.annotation.XmlElement;
/**
* Instances of this interface provide a constant, literal value that can be
* used in expressions. The {@link #evaluate evaluate} method of this class
* must return the same value as {@link #getValue()}.
*
* @version Implementation specification 1.0
* @author Chris Dillard (SYS Technologies)
* @since GeoAPI 2.0
*/
@XmlElement("Literal")
public interface Literal extends Expression {
/**
* Returns the constant value held by this object.
*/
Object getValue();
}
Ads help maintain this website.