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