public class StateParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StateParser.SubstitutedLine |
static class |
StateParser.Substitution |
| Constructor and Description |
|---|
StateParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addState(char ch,
ParsingState state) |
protected static StateParser.SubstitutedLine |
doParse(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
boolean disableResolutionException,
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
|
static StateParser.SubstitutedLine |
parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState)
Returns the string which was actually parsed with all the substitutions
performed.
|
static StateParser.SubstitutedLine |
parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict)
Returns the string which was actually parsed with all the substitutions
performed.
|
static StateParser.SubstitutedLine |
parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
boolean disableResolutionException,
CommandContext ctx) |
static StateParser.SubstitutedLine |
parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
boolean strict,
CommandContext ctx) |
static StateParser.SubstitutedLine |
parseLine(String str,
ParsingStateCallbackHandler callbackHandler,
ParsingState initialState,
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
CommandFormatExceptionpublic static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState) throws CommandFormatException
CommandFormatExceptionpublic static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static String parse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionpublic static StateParser.SubstitutedLine parseLine(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, boolean disableResolutionException, CommandContext ctx) throws CommandFormatException
CommandFormatExceptionprotected static StateParser.SubstitutedLine doParse(String str, ParsingStateCallbackHandler callbackHandler, ParsingState initialState, boolean strict, boolean disableResolutionException, CommandContext cmdCtx) throws CommandFormatException
CommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.