|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcreme.enumerations.Enumeration
org.jcreme.filters.ComparisonOperator
org.jcreme.filters.StringComparisonOperator
This enumeration contains the operators that can be used in a string manipulation context to test the relation of two strings. As a subclass of the ComparisonOperator enumeration, values of this class are also registered as elements of the ComparisonOperator enumeration.
Field Summary | |
static StringComparisonOperator |
LIKE
The 'LIKE' enumeration value. |
static StringComparisonOperator |
NOT_LIKE
The 'NOT LIKE' enumeration value. |
static java.lang.String |
S_LIKE
The name for the 'LIKE' enumeration value. |
static java.lang.String |
S_NOT_LIKE
The name for the 'NOT LIKE' enumeration value. |
(package private) static long |
serialVersionUID
|
Constructor Summary | |
protected |
StringComparisonOperator(java.lang.String name)
Creates new StringComparisonOperator |
Method Summary | |
protected java.util.Hashtable |
getFromName()
This method is for internal use only. |
static StringComparisonOperator |
getStringComparisonOperator(java.lang.String name)
This method retrieves an StringComparisonOperator instance from its name. |
static StringComparisonOperator[] |
getStringComparisonOperators()
This methods gives the instances of this class. |
static Enumeration[] |
getValues()
This method enables to retrieve all the possible values of an Enumeration class. |
Methods inherited from class org.jcreme.filters.ComparisonOperator |
addAsComparisonOperator, get, getComparisonOperators |
Methods inherited from class org.jcreme.enumerations.Enumeration |
compareTo, getName, readResolve, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
public static final java.lang.String S_LIKE
public static final StringComparisonOperator LIKE
public static final java.lang.String S_NOT_LIKE
public static final StringComparisonOperator NOT_LIKE
Constructor Detail |
protected StringComparisonOperator(java.lang.String name) throws java.security.InvalidParameterException
name
- the name of this enumerated value. It cannot be null.
java.security.InvalidParameterException
- if the parameter is null.Method Detail |
protected java.util.Hashtable getFromName()
getFromName
in class ComparisonOperator
public static StringComparisonOperator getStringComparisonOperator(java.lang.String name)
name
- the name of the StringComparisonOperator instance.
public static StringComparisonOperator[] getStringComparisonOperators()
public static Enumeration[] getValues()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |