org.geotools.expr
Class LiteralGeometryExpr

java.lang.Object
  extended byorg.geotools.expr.AbstractExpr
      extended byorg.geotools.expr.AbstractGeometryExpr
          extended byorg.geotools.expr.LiteralGeometryExpr
All Implemented Interfaces:
Expr, GeometryExpr, ResolvedExpr

public class LiteralGeometryExpr
extends AbstractGeometryExpr
implements ResolvedExpr


Field Summary
 
Fields inherited from class org.geotools.expr.AbstractGeometryExpr
factory
 
Constructor Summary
LiteralGeometryExpr(com.vividsolutions.jts.geom.Envelope extent)
           
LiteralGeometryExpr(com.vividsolutions.jts.geom.Geometry geom)
           
 
Method Summary
 Expression expression(FeatureType schema)
          Lazy binding of Expr into an Expression
 com.vividsolutions.jts.geom.Geometry getGeometry()
           
 java.lang.Object getValue()
          Value of this LiteralGeometryExpr.
 
Methods inherited from class org.geotools.expr.AbstractGeometryExpr
and, bbox, between, beyond, beyond, beyond, contains, contains, contains, crosses, crosses, crosses, disjoint, disjoint, disjoint, dwithin, dwithin, dwithin, eq, equal, equal, equal, eval, fid, fid, filter, fn, fn, fn, gt, gte, intersects, intersects, intersects, lt, lte, ne, not, notNull, or, overlaps, overlaps, overlaps, reduce, resolve, resolve, touches, touches, touches, within, within, within
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.geotools.expr.Expr
and, bbox, between, eq, eval, fid, fid, filter, fn, fn, fn, gt, gte, lt, lte, ne, not, notNull, or, reduce, resolve, resolve
 

Constructor Detail

LiteralGeometryExpr

public LiteralGeometryExpr(com.vividsolutions.jts.geom.Envelope extent)

LiteralGeometryExpr

public LiteralGeometryExpr(com.vividsolutions.jts.geom.Geometry geom)
Method Detail

expression

public Expression expression(FeatureType schema)
Description copied from interface: Expr
Lazy binding of Expr into an Expression

Specified by:
expression in interface Expr

getValue

public java.lang.Object getValue()
Value of this LiteralGeometryExpr.

Expr is doing its best to be immutable, Please don't duck around this idea.

Specified by:
getValue in interface ResolvedExpr
Returns:
geom

getGeometry

public com.vividsolutions.jts.geom.Geometry getGeometry()


Copyright © GeoTools. All Rights Reserved.