public class CssPercentageValueValidator extends Object implements ICssDataTypeValidator
ICssDataTypeValidator implementation for numeric elements.| Constructor and Description |
|---|
CssPercentageValueValidator(boolean allowedNegative)
Creates a new
CssPercentageValueValidator instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(String objectString)
Checks if a value is a valid data type (e.g.
|
public CssPercentageValueValidator(boolean allowedNegative)
CssPercentageValueValidator instance.allowedNegative - is negative value allowedpublic boolean isValid(String objectString)
isValid in interface ICssDataTypeValidatorobjectString - the valueCopyright © 1998–2024 Apryse Group NV. All rights reserved.