Package nl.rrd.wool.parser
Class WoolParserResult
- java.lang.Object
-
- nl.rrd.wool.parser.WoolParserResult
-
public class WoolParserResult extends Object
AWoolParserResultobject contains the results of parsing a .wool file, including the resultingWoolDialogueand a list ofParseExceptions.
-
-
Constructor Summary
Constructors Constructor Description WoolParserResult()Creates an instance of an emptyWoolParserResultobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WoolDialoguegetDialogue()Returns theWoolDialoguethat is part of thisWoolParserResult.List<ParseException>getParseErrors()Returns aListofParseExceptions that have occurred during the parsing of the .wool file.voidsetDialogue(WoolDialogue dialogue)Sets theWoolDialoguethat is part of thisWoolParserResult.
-
-
-
Constructor Detail
-
WoolParserResult
public WoolParserResult()
Creates an instance of an emptyWoolParserResultobject.
-
-
Method Detail
-
getDialogue
public WoolDialogue getDialogue()
Returns theWoolDialoguethat is part of thisWoolParserResult.- Returns:
- the
WoolDialoguethat is part of thisWoolParserResult.
-
getParseErrors
public List<ParseException> getParseErrors()
Returns aListofParseExceptions that have occurred during the parsing of the .wool file.- Returns:
- a
ListofParseExceptions.
-
setDialogue
public void setDialogue(WoolDialogue dialogue)
Sets theWoolDialoguethat is part of thisWoolParserResult.- Parameters:
dialogue- theWoolDialoguethat is part of thisWoolParserResult.
-
-