public class CssBackgroundValidator extends Object implements ICssDataTypeValidator
ICssDataTypeValidator implementation for background properties.
This validator should not be used with non-background properties.| Constructor and Description |
|---|
CssBackgroundValidator(String backgroundProperty)
Creates a new
CssBackgroundValidator instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(String objectString)
Checks if a value is a valid data type (e.g.
|
public CssBackgroundValidator(String backgroundProperty)
CssBackgroundValidator instance.backgroundProperty - is background property corresponding to current validatorpublic boolean isValid(String objectString)
isValid in interface ICssDataTypeValidatorobjectString - the valueCopyright © 1998–2023 iText Group NV. All rights reserved.