Package org.jbehave.core.parsers
Class RegexCompositeParser
java.lang.Object
org.jbehave.core.parsers.RegexCompositeParser
- All Implemented Interfaces:
CompositeParser
Pattern-based composite parser, which uses the keywords provided to parse the
textual composite steps into a list of
Composite.- Author:
- Mauro Talevi, Valery Yatsynovich
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected StringconcatenateWithOr(String beforeKeyword, List<String> keywords) protected Keywordskeywords()parseComposites(String compositesAsText) Parses composite steps from their textual representationsplitElements(String text, String keyword) protected StringstartingWithNL(String text)
-
Field Details
-
NONE
- See Also:
-
-
Constructor Details
-
RegexCompositeParser
public RegexCompositeParser() -
RegexCompositeParser
-
-
Method Details
-
parseComposites
Description copied from interface:CompositeParserParses composite steps from their textual representation- Specified by:
parseCompositesin interfaceCompositeParser- Parameters:
compositesAsText- the textual representation- Returns:
- The List of Composite
-
keywords
-
splitElements
-
startingWithNL
-
findSteps
-
concatenateStartingWords
-
concatenateWithOr
-