org.apache.myfaces.trinidadinternal.image
Interface ImageProvider
- All Known Implementing Classes:
- FileSystemImageCache
public interface ImageProvider
The ImageProvider interface provides access to a set of images.
Images are requested via the getImage() method. getImage()
takes a number of arguments which describe the requested image,
including an ImageProviderRequest object.
It returns an ImageProviderResponse which can be used to access the
requested image's URI.
- Version:
- $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/ImageProvider.java#0 $) $Date: 10-nov-2005.19:03:53 $
- Author:
- The Oracle ADF Faces Team
- See Also:
ImageProviderRequest
,
ImageProviderResponse
,
ImageType
,
ImageTypeManager
getImage
ImageProviderResponse getImage(ImageContext context,
ImageProviderRequest request)
- Looks up an image based on a set of requested properties. If
the requested image exists (or can be created), the ImageProvider
returns an response object which specified information about the
requested image, such as its URI.
- Parameters:
context
- The context objectrequest
- The request object is used to accesss the properties
of the requested image.
- Returns:
- Returns an ImageProviderResponse object which indicates
the location of the image, among other information.
- See Also:
ImageContext
,
ImageProviderRequest
,
ImageProviderResponse
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.