PREV CLASS
NEXT CLASS
com.ibm.portal.content
Enum LocalizedLocator.SearchPattern
java.lang.Object
java.lang.Enum<LocalizedLocator.SearchPattern>
com.ibm.portal.content.LocalizedLocator.SearchPattern
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<LocalizedLocator.SearchPattern>
- Enclosing interface:
- LocalizedLocator<E extends Localized>
-
public static enum LocalizedLocator.SearchPattern
- extends java.lang.Enum<LocalizedLocator.SearchPattern>
Enum for a search pattern
Enum Constant Summary
|
CONTAINS
Search pattern has to contain a given String |
STARTSWITH
Search pattern has to start with a given String |
Methods inherited from class java.lang.Enum
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object
|
getClass, notify, notifyAll, wait, wait, wait |
STARTSWITH
public static final LocalizedLocator.SearchPattern STARTSWITH
- Search pattern has to start with a given String
CONTAINS
public static final LocalizedLocator.SearchPattern CONTAINS
- Search pattern has to contain a given String
values
public static LocalizedLocator.SearchPattern[] 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 (LocalizedLocator.SearchPattern c : LocalizedLocator.SearchPattern.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LocalizedLocator.SearchPattern valueOf(java.lang.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:
- java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
- java.lang.NullPointerException - if the argument is null
PREV CLASS
NEXT CLASS