public class IgnorePlaceholderHandler extends Object implements PlaceholderHandler
This class and the whole module are considered experimental and any API may change between releases of XMLUnit.
Text nodes or attributes containing ${xmlunit.ignore}
will be ignored.
| Constructor and Description |
|---|
IgnorePlaceholderHandler() |
| 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–2020 XMLUnit. All rights reserved.