deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.filter
Enum Expression.Type

java.lang.Object
  extended by java.lang.Enum<Expression.Type>
      extended by org.deegree.filter.Expression.Type
All Implemented Interfaces:
Serializable, Comparable<Expression.Type>
Enclosing interface:
Expression

public static enum Expression.Type
extends Enum<Expression.Type>

Convenience enum type for discriminating the different expression types.


Enum Constant Summary
ADD
          Value is computed by adding two values.
DIV
          Value is computed by dividing two values.
FUNCTION
          Value is given as a function.
LITERAL
          Value is given as a literal.
MUL
          Value is computed by multipliying two values.
PROPERTY_NAME
          Expression references a property of a MatchableObject.
SUB
          Value is computed by subtracting two values.
 
Method Summary
static Expression.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Expression.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final Expression.Type ADD
Value is computed by adding two values. The Expression is an instance of Add.


SUB

public static final Expression.Type SUB
Value is computed by subtracting two values. The Expression is an instance of Sub.


MUL

public static final Expression.Type MUL
Value is computed by multipliying two values. The Expression is an instance of Mul.


DIV

public static final Expression.Type DIV
Value is computed by dividing two values. The Expression is an instance of Div.


PROPERTY_NAME

public static final Expression.Type PROPERTY_NAME
Expression references a property of a MatchableObject. The Expression is an instance of PropertyName.


LITERAL

public static final Expression.Type LITERAL
Value is given as a literal. The Expression is an instance of Literal.


FUNCTION

public static final Expression.Type FUNCTION
Value is given as a function. The Expression is an instance of Function.

Method Detail

values

public static Expression.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Expression.Type c : Expression.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Expression.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>