public class StateParser extends Object
Constructor and Description |
---|
StateParser() |
Modifier and Type | Method and Description |
---|---|
void |
addState(char ch,
ParsingState state) |
protected static String |
doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict)
Returns the string which was actually parsed with all the substitutions performed
|
protected static String |
doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
CommandContext cmdCtx)
Returns the string which was actually parsed with all the substitutions performed
|
String |
parse(String str,
ParsingStateCallbackHandler callbackHandler)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict)
Returns the string which was actually parsed with all the substitutions performed
|
static String |
parse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
CommandContext ctx)
Returns the string which was actually parsed with all the substitutions performed
|
public void addState(char ch, ParsingState state)
public String parse(String str, ParsingStateCallbackHandler callbackHandler) throws CommandFormatException
CommandFormatException
public static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState) throws CommandFormatException
CommandFormatException
public static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict) throws CommandFormatException
CommandFormatException
public static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatException
protected static String doParse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict) throws CommandFormatException
CommandFormatException
protected static String doParse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext cmdCtx) throws CommandFormatException
CommandFormatException
Copyright © 2023 JBoss by Red Hat. All rights reserved.