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