public class CssNumericValueValidator extends Object implements ICssDataTypeValidator
ICssDataTypeValidator implementation for numeric elements.| Constructor and Description |
|---|
CssNumericValueValidator(boolean allowedPercent,
boolean allowedNormal)
Creates a new
CssNumericValueValidator instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(String objectString)
Checks if a value is a valid data type (e.g.
|
public CssNumericValueValidator(boolean allowedPercent,
boolean allowedNormal)
CssNumericValueValidator instance.allowedPercent - is percent value allowedallowedNormal - is 'normal' value allowedpublic boolean isValid(String objectString)
isValid in interface ICssDataTypeValidatorobjectString - the valueCopyright © 1998–2020 iText Group NV. All rights reserved.