Package org.jbehave.core.parsers
Class TransformingStoryParser
java.lang.Object
org.jbehave.core.parsers.TransformingStoryParser
- All Implemented Interfaces:
StoryParser
-
Constructor Summary
ConstructorDescriptionTransformingStoryParser
(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:StoryParser
Parses story from its textual representation- Specified by:
parseStory
in interfaceStoryParser
- Parameters:
storyAsText
- the textual representation- Returns:
- The Story
-
parseStory
Description copied from interface:StoryParser
Parses story from its textual representation and (optional) story path- Specified by:
parseStory
in interfaceStoryParser
- Parameters:
storyAsText
- the textual representationstoryPath
- the story path, may benull
- Returns:
- The Story
-