org.jopendocument.dom.style
Enum RelationalOperator
java.lang.Object
java.lang.Enum<RelationalOperator>
org.jopendocument.dom.style.RelationalOperator
- All Implemented Interfaces:
- Serializable, Comparable<RelationalOperator>
public enum RelationalOperator
- extends Enum<RelationalOperator>
LT
public static final RelationalOperator LT
GT
public static final RelationalOperator GT
LE
public static final RelationalOperator LE
GE
public static final RelationalOperator GE
EQ
public static final RelationalOperator EQ
NE
public static final RelationalOperator NE
OR_PATTERN
public static final String OR_PATTERN
- Regular expression with all operators.
<|>|<=|>=|=|!=
values
public static RelationalOperator[] 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 (RelationalOperator c : RelationalOperator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RelationalOperator 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
asString
public final String asString()
compare
public final boolean compare(Object o1,
Object o2)
evaluate
protected abstract boolean evaluate(int i)
getInstance
public static RelationalOperator getInstance(String op)
Copyright © 2010 jOpenDocument All Rights Reserved.