All Classes and Interfaces
Class
Description
This is the only class from which the outside world should be calling.
This is where the magic lives.
An extension of the Pattern with helper methods.
This is an extension of the default XHTMLSerializer class that's had it's endElementIO()
method tweaked to serialize closing tags and self-closing tags the way we require.
A model for HTML attributes and the "rules" they must follow (either literals or regular expressions) in
order to be considered valid.
This class contains the results of a scan.
A implementation of a SAC DocumentHandler for CSS validation.
Encapsulates the parsing and validation of a CSS stylesheet or inline
declaration.
Encapsulates all the neceesary operations for validating individual eleements
of a stylesheet (namely: selectors, conditions and properties).
Contains a bunch of optimized lookups over the regular Policy Class.
Implementation of an HTML-filter that adheres to an AntiSamy policy.
Policy.java
This exception gets thrown when there is a problem validating or parsing
the policy file.
A model for CSS properties and the "rules" they must follow (either literals
or regular expressions) in order to be considered valid.
This exception gets thrown when there is an unexpected error parsing
the tainted HTML.
A model for HTML "tags" and the rules dictating their validation/filtration.
Uses smart matching to match tags
A utility class for URI handling