Class RegExParser
- java.lang.Object
-
- net.sf.gridarta.var.crossfire.model.validation.checks.RegExParser
-
public class RegExParser extends java.lang.ObjectParser for Crossfire regular expressions.
-
-
Constructor Summary
Constructors Constructor Description RegExParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.Collection<java.lang.String>getWords()Returns the words from the last call toparse(String, ErrorGenerator).voidparse(@NotNull java.lang.String regEx, @NotNull ErrorGenerator<?,?,?> generator)Parses a regular expression.
-
-
-
Method Detail
-
parse
public void parse(@NotNull @NotNull java.lang.String regEx, @NotNull @NotNull ErrorGenerator<?,?,?> generator)Parses a regular expression.- Parameters:
regEx- the regular expressiongenerator- the generator for reporting errors
-
getWords
@NotNull public @NotNull java.util.Collection<java.lang.String> getWords()
Returns the words from the last call toparse(String, ErrorGenerator).- Returns:
- the words
-
-