|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.util.XercesRegExpEvaluator
public class XercesRegExpEvaluator
An implementation of the XercesRegExpEvaluator that uses the Regular Expression library in Xerces. For more information about the Xerces Regular Expression library please visit: http://xml.apache.org/xerces-j/apiDocs/org.apache.xerces.impl.xpath.regex/RegularExpression.html
Field Summary | |
---|---|
(package private) org.apache.xerces.impl.xpath.regex.RegularExpression |
_regexp
The Regular expression |
Constructor Summary | |
---|---|
XercesRegExpEvaluator()
Creates a new XercesRegExpEvaluator |
Method Summary | |
---|---|
boolean |
matches(java.lang.String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator |
void |
setExpression(java.lang.String rexpr)
Sets the regular expression to match against during a call to #matches |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
org.apache.xerces.impl.xpath.regex.RegularExpression _regexp
Constructor Detail |
---|
public XercesRegExpEvaluator()
Method Detail |
---|
public void setExpression(java.lang.String rexpr)
setExpression
in interface RegExpEvaluator
rexpr
- the regular expressionpublic boolean matches(java.lang.String value)
matches
in interface RegExpEvaluator
value
- the String to check the production of
setExpression(java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |