Package org.xmlunit.placeholder
Class IsNumberPlaceholderHandler
- java.lang.Object
-
- org.xmlunit.placeholder.IsNumberPlaceholderHandler
-
- All Implemented Interfaces:
PlaceholderHandler
public class IsNumberPlaceholderHandler extends java.lang.Object implements PlaceholderHandler
Handler for theisNumberplaceholder keyword.- Since:
- 2.6.3
-
-
Constructor Summary
Constructors Constructor Description IsNumberPlaceholderHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmlunit.diff.ComparisonResultevaluate(java.lang.String testText, java.lang.String... param)Evaluate the test value when control contained the placeholder handled by this class.java.lang.StringgetKeyword()The placeholder keyword this handler is responsible for.
-
-
-
Method Detail
-
getKeyword
public java.lang.String getKeyword()
Description copied from interface:PlaceholderHandlerThe placeholder keyword this handler is responsible for.- Specified by:
getKeywordin interfacePlaceholderHandler- Returns:
- placeholder keyword this handler is responsible for
-
evaluate
public org.xmlunit.diff.ComparisonResult evaluate(java.lang.String testText, java.lang.String... param)Description copied from interface:PlaceholderHandlerEvaluate the test value when control contained the placeholder handled by this class.- Specified by:
evaluatein interfacePlaceholderHandler- Parameters:
testText- the textual content of the element or attribute this placeholder has been added to.param- any arguments provided to the placeholder.- Returns:
- the comparison outcome
-
-