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 allowed
public boolean isValid(String objectString)
isValid in interface ICssDataTypeValidator
objectString - the value
Copyright © 1998–2022 iText Group NV. All rights reserved.