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