Package org.owasp.html
Class CssSchema.Property
- java.lang.Object
-
- org.owasp.html.CssSchema.Property
-
- Enclosing class:
- CssSchema
public static final class CssSchema.Property extends Object
Describes how CSS interprets tokens after the ":" for a property. For example, if the property name "color" maps to this, then it should record that '#' literals are innocuous colors, and that functions like "rgb", "rgba", "hsl", etc. are allowed functions.
-
-
Constructor Detail
-
Property
public Property(int bits, com.google.common.collect.ImmutableSet<String> literals, com.google.common.collect.ImmutableMap<String,String> fnKeys)
- Parameters:
bits
- A bitfield of BIT_* constants describing groups of allowed tokens.literals
- Specific allowed values.fnKeys
- Maps lower-case function tokens to the schema key for their parameters.
-
-