|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thaiopensource.datatype.xsd.regex.xerces.RegexEngineImpl
An implementation of RegexEngine
using the Xerces 2 regular expression
implementation.
Constructor Summary | |
---|---|
RegexEngineImpl()
|
Method Summary | |
---|---|
Regex |
compile(java.lang.String expr)
Compiles a string containing a regular expression into a Regex object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegexEngineImpl()
Method Detail |
public Regex compile(java.lang.String expr) throws RegexSyntaxException
RegexEngine
Regex
object.
The Regex
object can be used to test whether a string matches the regular
expression.
compile
in interface RegexEngine
expr
- a String containing a regular expression
Regex
for str
RegexSyntaxException
- if str
is not a valid regular expression
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |