org.apache.myfaces.trinidadinternal.image
Interface ImageProviderRequest

All Known Implementing Classes:
AccentColorizedIconKey, AccentIconRequest, BaseColorizedIconKey, CompositeButtonKey, CoreColorizedIconKey, CoreIconRequest, FlippedIconKey, ImageProviderRequestImpl

public interface ImageProviderRequest

The ImageProviderRequest interface is used by the ImageProvider to access the properties of a requested image.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/ImageProviderRequest.java#0 $) $Date: 10-nov-2005.19:03:54 $
Author:
The Oracle ADF Faces Team
See Also:
ImageProvider

Method Summary
 java.lang.String getLocalName()
          Returns the local name of the image described by this request.
 java.lang.String getNamespaceURI()
          Returns the namespace URI for the image described by this request.
 java.util.Map<java.lang.Object,java.lang.Object> getRenderProperties(ImageContext context)
          Returns the dictionary of properties to use when rendering the requested image.
 

Method Detail

getNamespaceURI

java.lang.String getNamespaceURI()
Returns the namespace URI for the image described by this request.


getLocalName

java.lang.String getLocalName()
Returns the local name of the image described by this request.


getRenderProperties

java.util.Map<java.lang.Object,java.lang.Object> getRenderProperties(ImageContext context)
Returns the dictionary of properties to use when rendering the requested image.

The properties returned from getRenderProperties() should be suitable for consumption by an ImageRenderer. As such, properties should be defined by the *_KEY constants defined by the ImageConstants interface.

See Also:
ImageRenderer, ImageConstants


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.