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, getTextaddChangeListener, equals, fireSatisfactionChange, hashCode, inverse, removeChangeListenerclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFailureMessagepublic DocRegExCriterion(Document pDocument, String pRegEx)
pDocument - Document against which regular expression is tested.pRegEx - Regular expression to be matched.public boolean test()
ActivationCriterionpublic String toString()
toString in class DocumentCriterionCopyright © 2023. All rights reserved.