com.vividsolutions.jump.workbench.ui.plugin.analysis
Class AttributePredicate

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.plugin.analysis.AttributePredicate

public abstract class AttributePredicate
extends java.lang.Object

A function object for Geometry functions (which return a Geometry). Provides metadata about the function.

Version:
1.0
Author:
Martin Davis

Constructor Summary
AttributePredicate(java.lang.String name)
           
AttributePredicate(java.lang.String name, java.lang.String description)
           
 
Method Summary
static java.lang.Object coerce(java.lang.String constantValue, java.lang.Object attrVal)
           
 java.lang.String getName()
           
abstract  boolean isTrue(java.lang.Object arg1, java.lang.Object arg2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributePredicate

public AttributePredicate(java.lang.String name)

AttributePredicate

public AttributePredicate(java.lang.String name,
                          java.lang.String description)
Method Detail

getName

public java.lang.String getName()

isTrue

public abstract boolean isTrue(java.lang.Object arg1,
                               java.lang.Object arg2)

coerce

public static java.lang.Object coerce(java.lang.String constantValue,
                                      java.lang.Object attrVal)