org.jbehave.core.parsers
Class TransformingStoryParser
java.lang.Object
org.jbehave.core.parsers.TransformingStoryParser
- All Implemented Interfaces:
- StoryParser
public class TransformingStoryParser
- extends Object
- implements StoryParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformingStoryParser
public TransformingStoryParser(StoryParser delegate,
StoryTransformer... transformers)
parseStory
public Story parseStory(String storyAsText)
- Description copied from interface:
StoryParser
- Parses story from its textual representation
- Specified by:
parseStory
in interface StoryParser
- Parameters:
storyAsText
- the textual representation
- Returns:
- The Story
parseStory
public Story parseStory(String storyAsText,
String storyPath)
- Description copied from interface:
StoryParser
- Parses story from its textual representation and (optional) story path
- Specified by:
parseStory
in interface StoryParser
- Parameters:
storyAsText
- the textual representationstoryPath
- the story path, may be null
- Returns:
- The Story
Copyright © 2003-2012. All Rights Reserved.