org.deegree.model.filterencoding
Class ExpressionDefines
java.lang.Object
org.deegree.model.filterencoding.ExpressionDefines
public class ExpressionDefines
- extends java.lang.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
Method Summary |
static int |
getIdByName(java.lang.String name)
Returns the id of an expression for a given name. |
static java.lang.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 |
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
ExpressionDefines
public ExpressionDefines()
getIdByName
public static int getIdByName(java.lang.String name)
- Returns the id of an expression for a given name.
- Parameters:
name
-
- Returns:
- EXPRESSION / PROPERTYNAME / LITERAL / ...
getNameById
public static java.lang.String getNameById(int id)
- Returns the name of an expression for a given id.
- Parameters:
id
-
- Returns:
- null / Name of expression
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org