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()
PlaceholderHandler
getKeyword
in interface PlaceholderHandler
public ComparisonResult evaluate(String testText, String... param)
PlaceholderHandler
evaluate
in interface PlaceholderHandler
testText
- the textual content of the element or attribute
this placeholder has been added to.param
- any arguments provided to the
placeholder.Copyright © 2001–2020 XMLUnit. All rights reserved.