W3C Jigsaw

All resources All frames


The ResourceFilter class is the basic class for all resource filters. If you are not yet familiar with filters, check Jigsaw architecture overview. Resource filters can maintain a shadow of their target attributes in order to overide them. This is how the ProcessFilter, for example, can be used to do on-the-fly MIME type conversion: it shadows its target resource content-type attribute value. This is why the generic resource editor displays the ShadowedBy... button when a filter is attached to the resource it edits.

When a resource's attribute is queried, its filters are first queried for a shadow value of the attribute. If one of the filters attached to the resource defines the attribute, its value is returned. Otherwise, the normal resource attribute value is fetched and returned.


The ResourceFilter class inerits from the following classes:

Attributes description

The ResourceFilter doesn't defines any attribute.

Jigsaw Team
$Id: org.w3c.tools.resources.ResourceFilter.html,v 1.3 1998/03/27 08:26:22 bmahe Exp $