public enum SuggestFilter extends Enum<SuggestFilter>
Modifier and Type | Field and Description |
---|---|
static String |
STRING_ALL |
static String |
STRING_CONTAINS |
static String |
STRING_PREFIX |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static SuggestFilter |
parse(String string) |
static SuggestFilter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestFilter ALL
public static final SuggestFilter PREFIX
public static final SuggestFilter CONTAINS
public static final String STRING_ALL
public static final String STRING_PREFIX
public static final String STRING_CONTAINS
public static SuggestFilter[] values()
for (SuggestFilter c : SuggestFilter.values()) System.out.println(c);
public static SuggestFilter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static SuggestFilter parse(String string)
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.