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