public final class CssSchema extends Object
Modifier and Type | Field and Description |
---|---|
static CssSchema |
DEFAULT
A schema that includes only those properties on the default schema
white-list.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
allowedProperties()
The set of CSS properties allowed by this schema.
|
static void |
main(String... argv)
Dumps key and literal list to stdout for easy examination.
|
static CssSchema |
union(CssSchema... cssSchemas)
A schema that represents the union of the input schemas.
|
static CssSchema |
withProperties(Iterable<? extends String> propertyNames)
A schema that includes all and only the named properties.
|
public static final CssSchema DEFAULT
public static CssSchema withProperties(Iterable<? extends String> propertyNames)
propertyNames
- a series of lower-case CSS property names that appear
in the built-in CSS definitions. It is an error to mention an unknown
property name. This class's main
method will dump a list of
known property names when run with zero arguments.public static CssSchema union(CssSchema... cssSchemas)
public Set<String> allowedProperties()
public static void main(String... argv)
Copyright © 2016 OWASP. All rights reserved.