org.jwall.web.audit.filter
Enum Operator

java.lang.Object
  extended by java.lang.Enum<Operator>
      extended by org.jwall.web.audit.filter.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>

public enum Operator
extends Enum<Operator>
implements Serializable

An enumeration of available operators.

Author:
Christian Bockermann <chris@jwall.org>

Enum Constant Summary
BeginsWith
           
Contains
           
EndsWith
           
EQ
           
GE
           
GT
           
IN
           
LE
           
LT
           
NBeginsWith
           
NContains
           
NEndsWith
           
NEQ
           
NGE
           
NGT
           
NIN
           
NLE
           
NLT
           
NPM
           
NRX
           
NSX
           
PM
           
RX
           
SX
           
 
Method Summary
static Operator read(String str)
           
 String toString()
           
static Operator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Operator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQ

public static final Operator EQ

NEQ

public static final Operator NEQ

GE

public static final Operator GE

NGE

public static final Operator NGE

GT

public static final Operator GT

NGT

public static final Operator NGT

LE

public static final Operator LE

NLE

public static final Operator NLE

LT

public static final Operator LT

NLT

public static final Operator NLT

PM

public static final Operator PM

NPM

public static final Operator NPM

RX

public static final Operator RX

NRX

public static final Operator NRX

SX

public static final Operator SX

NSX

public static final Operator NSX

IN

public static final Operator IN

NIN

public static final Operator NIN

Contains

public static final Operator Contains

NContains

public static final Operator NContains

BeginsWith

public static final Operator BeginsWith

NBeginsWith

public static final Operator NBeginsWith

EndsWith

public static final Operator EndsWith

NEndsWith

public static final Operator NEndsWith
Method Detail

values

public static Operator[] 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 (Operator c : Operator.values())
    System.out.println(c);

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

valueOf

public static Operator 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

toString

public String toString()
Overrides:
toString in class Enum<Operator>

read

public static Operator read(String str)
                     throws SyntaxException
Throws:
SyntaxException


Copyright © 2012 jwall.org. All Rights Reserved.