gherkin.parser
Class FormatterListener
java.lang.Object
gherkin.parser.FormatterListener
- All Implemented Interfaces:
- Listener
public class FormatterListener
- extends Object
- implements Listener
|
Method Summary |
void |
background(String keyword,
String name,
String description,
Integer line)
|
void |
comment(String comment,
Integer line)
|
void |
docString(String contentType,
String content,
Integer line)
|
void |
eof()
|
void |
examples(String keyword,
String name,
String description,
Integer line)
|
void |
feature(String keyword,
String name,
String description,
Integer line)
|
void |
row(List<String> cells,
Integer line)
|
void |
scenario(String keyword,
String name,
String description,
Integer line)
|
void |
scenarioOutline(String keyword,
String name,
String description,
Integer line)
|
void |
step(String keyword,
String name,
Integer line)
|
void |
syntaxError(String state,
String event,
List<String> legalEvents,
String uri,
Integer line)
Not part of the API. |
void |
tag(String tag,
Integer line)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormatterListener
public FormatterListener(Formatter formatter)
comment
public void comment(String comment,
Integer line)
- Specified by:
comment in interface Listener
tag
public void tag(String tag,
Integer line)
- Specified by:
tag in interface Listener
feature
public void feature(String keyword,
String name,
String description,
Integer line)
- Specified by:
feature in interface Listener
background
public void background(String keyword,
String name,
String description,
Integer line)
- Specified by:
background in interface Listener
scenario
public void scenario(String keyword,
String name,
String description,
Integer line)
- Specified by:
scenario in interface Listener
scenarioOutline
public void scenarioOutline(String keyword,
String name,
String description,
Integer line)
- Specified by:
scenarioOutline in interface Listener
examples
public void examples(String keyword,
String name,
String description,
Integer line)
- Specified by:
examples in interface Listener
step
public void step(String keyword,
String name,
Integer line)
- Specified by:
step in interface Listener
row
public void row(List<String> cells,
Integer line)
- Specified by:
row in interface Listener
docString
public void docString(String contentType,
String content,
Integer line)
- Specified by:
docString in interface Listener
eof
public void eof()
- Specified by:
eof in interface Listener
syntaxError
public void syntaxError(String state,
String event,
List<String> legalEvents,
String uri,
Integer line)
- Not part of the API. Used for testing only.
Copyright © 2013. All rights reserved.