+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD

com.ibm.portal.content
Enum LocalizedLocator.SearchPattern

java.lang.Object
  extended by java.lang.Enum<LocalizedLocator.SearchPattern>
      extended by 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
 
Method Summary
static LocalizedLocator.SearchPattern valueOf(java.lang.String name)
          Return the enum constant of this type with the specified name.
static LocalizedLocator.SearchPattern[] values()
          Return an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

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

Method Detail

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
Tree 
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD DETAIL: ENUM CONSTANTS | FIELD | METHOD