com.thaiopensource.datatype.xsd.regex
Interface Regex


public interface Regex

A regular expression that can be matched against a string.

See Also:
RegexEngine

Method Summary
 boolean matches(String str)
          Tests whether this regular expression matches a string.
 

Method Detail

matches

boolean matches(String str)
Tests whether this regular expression matches a string.

Parameters:
str - the String to be tested
Returns:
true if str matches this regular expression, false otherwise