public class SetsBlockParser extends NexusBlockParser.Abstract
SETS
block and fires events to a SetsBlockListener
.NexusBlockParser.Abstract
Modifier and Type | Field and Description |
---|---|
static String |
CHAR_SET_COMMAND |
static String |
SETS_LIST_START |
static String |
START_END_SEPARATER |
UNKNOWN_BLOCK
Constructor and Description |
---|
SetsBlockParser(SetsBlockListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
endTokenGroup() |
SetsBlockListener |
getBlockListener() |
void |
parseToken(String token) |
protected void |
resetStatus() |
beginComment, commentText, endBlock, endComment, getBlockName, startBlock, wantsBracketsAndBraces
public static final String CHAR_SET_COMMAND
public static final String SETS_LIST_START
public static final String START_END_SEPARATER
public SetsBlockParser(SetsBlockListener listener)
public SetsBlockListener getBlockListener()
getBlockListener
in interface NexusBlockParser
getBlockListener
in class NexusBlockParser.Abstract
public void endTokenGroup()
endTokenGroup
in interface NexusBlockParser
endTokenGroup
in class NexusBlockParser.Abstract
public void parseToken(String token) throws ParseException
parseToken
in interface NexusBlockParser
parseToken
in class NexusBlockParser.Abstract
ParseException
protected void resetStatus()
resetStatus
in class NexusBlockParser.Abstract