public class PersistentSearchControlStatesEnum extends Object implements IStates
Modifier and Type | Field and Description |
---|---|
static int |
CHANGE_TYPES_STATE
changeTypes Value
|
static int |
CHANGES_ONLY_STATE
changesOnly Value
|
static int |
LAST_PSEARCH_STATE
terminal state
|
static int |
PSEARCH_SEQUENCE_STATE
Sequence Value
|
static int |
RETURN_ECS_STATE
returnECs Value
|
static int |
START_STATE
Initial state
|
END_STATE, GRAMMAR_END, INIT_GRAMMAR_STATE
Modifier and Type | Method and Description |
---|---|
String |
getGrammarName(IGrammar grammar)
Get the grammar name
|
String |
getGrammarName(int grammar)
Get the grammar name
|
static IStates |
getInstance()
Get an instance of this class
|
String |
getState(int state)
Get the string representing the state
|
public static final int START_STATE
public static final int PSEARCH_SEQUENCE_STATE
public static final int CHANGE_TYPES_STATE
public static final int CHANGES_ONLY_STATE
public static final int RETURN_ECS_STATE
public static final int LAST_PSEARCH_STATE
public static IStates getInstance()
public String getGrammarName(int grammar)
getGrammarName
in interface IStates
grammar
- The grammar codepublic String getGrammarName(IGrammar grammar)
getGrammarName
in interface IStates
grammar
- The grammar classCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.