public class MatchesRegexPlaceholderHandler extends Object implements PlaceholderHandler
matchesRegex() placeholder keyword.| Constructor and Description |
|---|
MatchesRegexPlaceholderHandler() |
| Modifier and Type | Method and Description |
|---|---|
ComparisonResult |
evaluate(String testText,
String... param)
Evaluate the test value when control contained the placeholder
handled by this class.
|
String |
getKeyword()
The placeholder keyword this handler is responsible for.
|
public String getKeyword()
PlaceholderHandlergetKeyword in interface PlaceholderHandlerpublic ComparisonResult evaluate(String testText, String... param)
PlaceholderHandlerevaluate in interface PlaceholderHandlertestText - the textual content of the element or attribute
this placeholder has been added to.param - any arguments provided to the
placeholder.Copyright © 2001–2022 XMLUnit. All rights reserved.