Class JakartaOroEvaluator

  • All Implemented Interfaces:
    RegExpEvaluator

    public class JakartaOroEvaluator
    extends java.lang.Object
    implements RegExpEvaluator
    An implementation of the RegExpEvaluator that uses the Jakarta ORO Regular Expression library. For more information about the Jakarta ORO library please visit: http://jakarta.apache.org/oro/
    Version:
    $Revision: 8636 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
    Author:
    Glenn Nielsen, Keith Visco
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Constructor Detail

      • JakartaOroEvaluator

        public JakartaOroEvaluator()
    • Method Detail

      • setExpression

        public void setExpression​(java.lang.String rexpr)
        Sets the regular expression to match against during a call to #matches
        Specified by:
        setExpression in interface RegExpEvaluator
        Parameters:
        rexpr - the regular expression
      • matches

        public boolean matches​(java.lang.String value)
        Returns true if the given String is matched by the regular expression of this RegExpEvaluator
        Specified by:
        matches in interface RegExpEvaluator
        Parameters:
        value - the String to check the production of
        Returns:
        true if the given string matches the regular expression of this RegExpEvaluator
        See Also:
        setExpression(java.lang.String)