gherkin.formatter
Class FilterFormatter
java.lang.Object
gherkin.formatter.FilterFormatter
- All Implemented Interfaces:
- Formatter, Closeable
public class FilterFormatter
- extends Object
- implements Formatter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterFormatter
public FilterFormatter(Formatter formatter,
List filters)
uri
public void uri(String uri)
- Specified by:
uri in interface Formatter
feature
public void feature(Feature feature)
- Specified by:
feature in interface Formatter
background
public void background(Background background)
- Specified by:
background in interface Formatter
scenario
public void scenario(Scenario scenario)
- Specified by:
scenario in interface Formatter
scenarioOutline
public void scenarioOutline(ScenarioOutline scenarioOutline)
- Specified by:
scenarioOutline in interface Formatter
examples
public void examples(Examples examples)
- Specified by:
examples in interface Formatter
step
public void step(Step step)
- Specified by:
step in interface Formatter
table
public void table(List<Row> table)
eof
public void eof()
- Description copied from interface:
Formatter
- Indicates the End-Of-File for a Gherkin document (.feature file)
- Specified by:
eof in interface Formatter
syntaxError
public void syntaxError(String state,
String event,
List<String> legalEvents,
String uri,
Integer line)
- Specified by:
syntaxError in interface Formatter
done
public void done()
- Description copied from interface:
Formatter
- Indicates that the last file has been processed. This should print out any closing output,
such as completing the JSON string, but it should *not* close any underlying streams/writers.
- Specified by:
done in interface Formatter
close
public void close()
- Description copied from interface:
Formatter
- Closes all underlying streams.
- Specified by:
close in interface Formatter- Specified by:
close in interface Closeable
Copyright © 2012. All Rights Reserved.