Class DocRegExCriterion

All Implemented Interfaces:
ActivationCriterion

public class DocRegExCriterion extends DocumentCriterion
Mandates that a document's contents match a regular expression.
See Also:
  • Constructor Details

    • DocRegExCriterion

      public DocRegExCriterion(Document pDocument, String pRegEx)
      Parameters:
      pDocument - Document against which regular expression is tested.
      pRegEx - Regular expression to be matched.
    • DocRegExCriterion

      public DocRegExCriterion(Document pDocument, Pattern pPattern)
      Parameters:
      pDocument - Document against which regular expression is tested.
      pPattern - Pattern to be matched.
  • Method Details