net.dpml.library
Interface Filter

All Known Implementing Classes:
FilterDirective

public interface Filter

Interface implemented by content filters.

Version:
1.1.0
Author:
Digital Product Meta Library

Method Summary
 String getToken()
          Return the filter token.
 String getValue(Resource resource)
          Return the filter value.
 

Method Detail

getToken

public String getToken()
Return the filter token.

Returns:
the token

getValue

public String getValue(Resource resource)
                throws ResourceNotFoundException
Return the filter value.

Parameters:
resource - the enclosing resource
Returns:
the value
Throws:
ResourceNotFoundException - if the feature referneces an invalid reference