|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.owasp.html.CssSchema
public final class CssSchema
Describes the kinds of tokens a CSS property's value can safely contain.
| Field Summary | |
|---|---|
static CssSchema |
DEFAULT
A schema that includes only those properties on the default schema white-list. |
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
allowedProperties()
The set of CSS properties allowed by this schema. |
static void |
main(java.lang.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(java.lang.Iterable<? extends java.lang.String> propertyNames)
A schema that includes all and only the named properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final CssSchema DEFAULT
| Method Detail |
|---|
public static CssSchema withProperties(java.lang.Iterable<? extends java.lang.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 java.util.Set<java.lang.String> allowedProperties()
public static void main(java.lang.String... argv)
|
code.google.com home | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||