gherkin.formatter.model
Class TagStatement

java.lang.Object
  extended by gherkin.formatter.Mappable
      extended by gherkin.formatter.model.BasicStatement
          extended by gherkin.formatter.model.DescribedStatement
              extended by gherkin.formatter.model.TagStatement
All Implemented Interfaces:
CommentHolder
Direct Known Subclasses:
Examples, Feature, Scenario, ScenarioOutline

public abstract class TagStatement
extends DescribedStatement


Constructor Summary
TagStatement(List<Comment> comments, List<Tag> tags, String keyword, String name, String description, int line, String id)
           
 
Method Summary
protected  int getFirstNonCommentLine()
           
 List<Tag> getTags()
           
 
Methods inherited from class gherkin.formatter.model.DescribedStatement
getDescription
 
Methods inherited from class gherkin.formatter.model.BasicStatement
getComments, getKeyword, getLine, getLineRange, getName, replay
 
Methods inherited from class gherkin.formatter.Mappable
toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagStatement

public TagStatement(List<Comment> comments,
                    List<Tag> tags,
                    String keyword,
                    String name,
                    String description,
                    int line,
                    String id)
Method Detail

getTags

public List<Tag> getTags()

getFirstNonCommentLine

protected int getFirstNonCommentLine()
Overrides:
getFirstNonCommentLine in class BasicStatement


Copyright © 2011. All Rights Reserved.