public class TransformingStoryParser extends Object implements StoryParser
| Constructor and Description |
|---|
TransformingStoryParser(StoryParser delegate,
StoryTransformer... transformers) |
| Modifier and Type | Method and Description |
|---|---|
Story |
parseStory(String storyAsText)
Parses story from its textual representation
|
Story |
parseStory(String storyAsText,
String storyPath)
Parses story from its textual representation and (optional) story path
|
public TransformingStoryParser(StoryParser delegate, StoryTransformer... transformers)
public Story parseStory(String storyAsText)
StoryParserparseStory in interface StoryParserstoryAsText - the textual representationpublic Story parseStory(String storyAsText, String storyPath)
StoryParserparseStory in interface StoryParserstoryAsText - the textual representationstoryPath - the story path, may be nullCopyright © 2003–2016. All rights reserved.