public class CssDeclarationValidationMaster extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkDeclaration(CssDeclaration declaration)
Checks a CSS declaration.
|
static void |
setValidator(ICssDeclarationValidator validator)
Sets new validator for CSS declarations.
|
public static boolean checkDeclaration(CssDeclaration declaration)
declaration
- the CSS declaration
public static void setValidator(ICssDeclarationValidator validator)
validator
- validator for CSS declarations: use CssDefaultValidator
instance to use default validation, use CssDeviceCmykAwareValidator
instance to support device-cmyk feature
Copyright © 1998–2022 iText Group NV. All rights reserved.