public class DocRegExCriterion extends DocumentCriterion
Pattern
Constructor and Description |
---|
DocRegExCriterion(Document pDocument,
Pattern pPattern) |
DocRegExCriterion(Document pDocument,
String pRegEx) |
Modifier and Type | Method and Description |
---|---|
boolean |
test()
TODO: return an Object (null for passed test).
|
String |
toString() |
getDocument, getText
addChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListener
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFailureMessage
public DocRegExCriterion(Document pDocument, String pRegEx)
pDocument
- Document against which regular expression is tested.pRegEx
- Regular expression to be matched.public boolean test()
ActivationCriterion
public String toString()
toString
in class DocumentCriterion
Copyright © 2023. All rights reserved.