| org.databene.benerator.primitive.regex.RegexStringGenerator
RegexStringGenerator | public class RegexStringGenerator extends LightweightGenerator (Code) | | Generates Strings that comply to a regular expression.
Created: 18.07.2006 19:32:52
|
RegexStringGenerator | public RegexStringGenerator()(Code) | | Initializes the generator to an empty regular expression, a maxQuantity of 30 and the fallback locale
|
RegexStringGenerator | public RegexStringGenerator(int maxQuantity)(Code) | | Initializes the generator to an empty regular expression and the fallback locale
|
RegexStringGenerator | public RegexStringGenerator(String pattern)(Code) | | Initializes the generator to a maxQuantity of 30 and the fallback locale
|
RegexStringGenerator | public RegexStringGenerator(String pattern, int maxQuantity)(Code) | | Initializes the generator to the fallback locale
|
RegexStringGenerator | public RegexStringGenerator(String pattern, Locale locale, Integer maxQuantity, boolean unique)(Code) | | Initializes the generator with the String representation of a regular expression
|
RegexStringGenerator | public RegexStringGenerator(Regex regex, Integer maxQuantity)(Code) | | |
RegexStringGenerator | public RegexStringGenerator(Regex regex, Integer maxQuantity, boolean unique)(Code) | | Initializes the generator with the object representation of a regular expression
|
available | public boolean available()(Code) | | |
close | public void close()(Code) | | |
generate | public String generate()(Code) | | Calls all sub generators and assembles their products to a string
|
getMaxQuantity | public int getMaxQuantity()(Code) | | |
getPattern | public String getPattern()(Code) | | Sets the String representation of the regular expression
|
reset | public void reset()(Code) | | |
setMaxQuantity | public void setMaxQuantity(int maxQuantity)(Code) | | |
setPattern | public void setPattern(String pattern)(Code) | | Returns the String representation of the regular expression
|
validate | public void validate()(Code) | | ensures consistency of the generators state
|
|
|