Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbehave.core.parsers
Interface StepPatternParser

All Known Implementing Classes:
  RegexPrefixCapturingPatternParser

    public interface StepPatternParser

Parses a step pattern, as provided in the method annotations, creating a `StepMatcher` which will in turn match textual steps conforming to the pattern. E.g.:

     I give $money to $name

will match

     I give �10 to Fred

and the captured parameters will be "�10" and "Fred".

Method Summary
`StepMatcher` | `parseStep(StepType stepType, String stepPattern)` Parses a step pattern to create a step matcher

Method Detail

### parseStep

    StepMatcher parseStep(StepType stepType,
                          String stepPattern)

  Parses a step pattern to create a step matcher

  Parameters:
    `stepType` -
    `stepPattern` - the step pattern
  Returns:
    A StepMatcher that will capture the parameters associated with a step

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013. All Rights Reserved.