Package org.xmlunit.placeholder
Class IsDateTimePlaceholderHandler
- java.lang.Object
-
- org.xmlunit.placeholder.IsDateTimePlaceholderHandler
-
- All Implemented Interfaces:
PlaceholderHandler
public class IsDateTimePlaceholderHandler extends java.lang.Object implements PlaceholderHandler
Handler for theisDateTimeplaceholder keyword.- Since:
- 2.7.0
-
-
Constructor Summary
Constructors Constructor Description IsDateTimePlaceholderHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmlunit.diff.ComparisonResultevaluate(java.lang.String testText, java.lang.String... args)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... args)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.args- any arguments provided to the placeholder.- Returns:
- the comparison outcome
-
-