oracle.cabo.image.cache
Interface PropertiesFilter

All Known Implementing Classes:
ButtonPropertiesFilter, GlobalButtonPropertiesFilter, TabBarPropertiesFilter

public interface PropertiesFilter

The PropertiesFilter interface is designed to allow type-specific filtering to be performed on the client-provided "requested" properties prior to rendering an image. Filtering might be performed to enhance or modify the client-provided properties. For example, the filter might add type-specific default values for properties that are not specified by the client. Type-specific filters are registered and retrieved from ImageType instances using the PROPERTIES_FILTER_PROPERTY key.


Field Summary
static java.lang.Object PROPERTIES_FILTER_PROPERTY
          Key used to retrieve the PropertiesFilter property from an ImageType.
 
Method Summary
 java.util.Dictionary filterProperties(ImageContext context, java.util.Dictionary properties)
          Filters a dictionary of properties
 

Field Detail

PROPERTIES_FILTER_PROPERTY

public static final java.lang.Object PROPERTIES_FILTER_PROPERTY
Key used to retrieve the PropertiesFilter property from an ImageType.
Method Detail

filterProperties

public java.util.Dictionary filterProperties(ImageContext context,
                                             java.util.Dictionary properties)
Filters a dictionary of properties
Parameters:
context - The image context
properties - The dictionary of properties to filter
Returns:
The filtered dictionary of properties