public class IsNumberPlaceholderHandler extends java.lang.Object implements PlaceholderHandler
isNumber
placeholder keyword.Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
NUMBER_PATTERN |
private static java.lang.String |
PLACEHOLDER_NAME |
Constructor and Description |
---|
IsNumberPlaceholderHandler() |
Modifier and Type | Method and Description |
---|---|
ComparisonResult |
evaluate(java.lang.String testText)
Evaluate the test value when control contained the placeholder
handled by this class.
|
java.lang.String |
getKeyword()
The placeholder keyword this handler is responsible for.
|
private static final java.lang.String PLACEHOLDER_NAME
private static final java.lang.String NUMBER_PATTERN
public java.lang.String getKeyword()
PlaceholderHandler
getKeyword
in interface PlaceholderHandler
public ComparisonResult evaluate(java.lang.String testText)
PlaceholderHandler
evaluate
in interface PlaceholderHandler