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 inherits from the following classes:
The ResourceFilter defines the following attribute:
target
Jigsaw Team
$Id: w3c.jigsaw.resources.ResourceFilter.html,v 1.1 1996/04/23 19:13:12 abaird
Exp $