Package org.jbehave.core.parsers
Class TransformingStoryParser
java.lang.Object
org.jbehave.core.parsers.TransformingStoryParser
- All Implemented Interfaces:
StoryParser
-
Constructor Summary
ConstructorsConstructorDescriptionTransformingStoryParser(StoryParser delegate, StoryTransformer... transformers) -
Method Summary
Modifier and TypeMethodDescriptionparseStory(String storyAsText) Parses story from its textual representationparseStory(String storyAsText, String storyPath) Parses story from its textual representation and (optional) story path
-
Constructor Details
-
TransformingStoryParser
-
-
Method Details
-
parseStory
Description copied from interface:StoryParserParses story from its textual representation- Specified by:
parseStoryin interfaceStoryParser- Parameters:
storyAsText- the textual representation- Returns:
- The Story
-
parseStory
Description copied from interface:StoryParserParses story from its textual representation and (optional) story path- Specified by:
parseStoryin interfaceStoryParser- Parameters:
storyAsText- the textual representationstoryPath- the story path, may benull- Returns:
- The Story
-