deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.filterencoding
Class ExpressionDefines

java.lang.Object
  extended by org.deegree.model.filterencoding.ExpressionDefines

public class ExpressionDefines
extends Object

Defines codes and constants for easy coping with the different kinds of Expressions (both XML-Entities & JavaObjects).

Version:
06.08.2002
Author:
Markus Schneider

Field Summary
static int ADD
           
static int DIV
           
static int EXPRESSION
           
static int FUNCTION
           
static int LITERAL
           
static int MUL
           
static int PROPERTYNAME
           
static int SUB
           
static int UNKNOWN
           
 
Constructor Summary
ExpressionDefines()
           
 
Method Summary
static int getIdByName(String name)
          Returns the id of an expression for a given name.
static String getNameById(int id)
          Returns the name of an expression for a given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXPRESSION

public static final int EXPRESSION
See Also:
Constant Field Values

PROPERTYNAME

public static final int PROPERTYNAME
See Also:
Constant Field Values

LITERAL

public static final int LITERAL
See Also:
Constant Field Values

FUNCTION

public static final int FUNCTION
See Also:
Constant Field Values

ADD

public static final int ADD
See Also:
Constant Field Values

SUB

public static final int SUB
See Also:
Constant Field Values

MUL

public static final int MUL
See Also:
Constant Field Values

DIV

public static final int DIV
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values
Constructor Detail

ExpressionDefines

public ExpressionDefines()
Method Detail

getIdByName

public static int getIdByName(String name)
Returns the id of an expression for a given name.

Parameters:
name -
Returns:
EXPRESSION / PROPERTYNAME / LITERAL / ...

getNameById

public static String getNameById(int id)
Returns the name of an expression for a given id.

Parameters:
id -
Returns:
null / Name of expression

deegree 2.3 (2010/04/09 10:10 build-4-official)

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