org.jbehave.core.parser
Interface StoryParser

All Known Implementing Classes:
PatternStoryParser

public interface StoryParser

Parses the stories contained in a story from a textual representation.


Method Summary
 Story defineStoryFrom(String storyAsText)
          Defines story from its textual representation
 Story defineStoryFrom(String storyAsText, String storyPath)
          Defines story from its textual representation and (optional) story path
 

Method Detail

defineStoryFrom

Story defineStoryFrom(String storyAsText)
Defines story from its textual representation

Parameters:
storyAsText - the textual representation
Returns:
The Story

defineStoryFrom

Story defineStoryFrom(String storyAsText,
                      String storyPath)
Defines story from its textual representation and (optional) story path

Parameters:
storyAsText - the textual representation
storyPath - the story path, may be null
Returns:
The Story
Since:
2.4


Copyright © 2003-2010. All Rights Reserved.