de.ispsoft.jaxme.re
Interface Pattern

All Known Implementing Classes:
ApacheRegexpPatternCompiler.ApacheRegexpPattern, JavaUtilPatternCompiler.JavaUtilPattern, OroPatternCompiler.OroPattern

public interface Pattern

Interface of a compiled regular expression.

Author:
Jochen Wiedmann

Method Summary
 boolean matches(java.lang.String pInput)
          Tests whether the given String matches the regular expression.
 

Method Detail

matches

public boolean matches(java.lang.String pInput)

Tests whether the given String matches the regular expression. This method must be implemented in a thread safe manner.