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