Package com.xerox.adoc.dexss.filters

Implements a set of XMLFilters to protect against Cross-Site Scripting (XSS).

See:
          Description

Class Summary
AttributeNameRegexpFilter Attribute Removal Filter; Removes attributes matching regexps added with AttributeNameRegexpFilter.add(String).
AttributeNameRemovalFilter Attribute Removal Filter; Removes attributes matching names added with AttributeNameRemovalFilter.add(String).
AttributeNameStartFilter Attribute Start Filter; removes attributes whose name starts with the specified name
AttributeValueFilter Attribute Value Filter; removes attributes whose value contains the specified content
AttributeValueRegexpFilter AttributeValue Regexp Filter; removes attributes whose content matches the specified regexp
AttributeValueStartFilter Attribute Start Filter; removes attributes whose content starts with the specified content
BodyContentsFilter Body Contents Filter; drops everything that's not in <body>
DeXSSFilterImpl Base class for XSS filters Extends XMLFilterImpl and provides the methods for DeXSSChangeListener.
ElementLiftingFilter Element Lifting Filter; Lifts content of matching element (and its attributes) by eliding it and replacing it with its own content.
ElementRemovalFilter Element Removal Filter; Removes the specified element and all its content.
ElementReplacementFilter Element Replacement filter; replaces one element name with another, but leaves content alone.
IdentityFilter Identity Filter; Makes no changes.
 

Package com.xerox.adoc.dexss.filters Description

Implements a set of XMLFilters to protect against Cross-Site Scripting (XSS).

Related Documentation

Please see

License

Copyright (C) 2005, 2006, 2007 Xerox Corporation
Leigh L. Klotz, Jr. <Leigh.Klotz@xerox.com>

This software is licensed under Version 3.0 of the Academic Free License (see file LICENSE). The Original Work is DeXSS. The Licensor is Xerox Corporation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Portions of the file build.xml were derived from TagSoup Copyright (c) 2005 John Cowan licensed under AFL.