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 CssNumericValueValidator 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)
CssNumericValueValidator instance.
backgroundProperty - is background property corresponding to current validator
public boolean isValid(String objectString)
isValid in interface ICssDataTypeValidator
objectString - the value
Copyright © 1998–2021 iText Group NV. All rights reserved.