|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceRenderer
The ImageRenderer is used to render the binary data for a html img tag Implementions must have a default constructor
| Method Summary | |
|---|---|
int |
getContentLength()
The content length of the image to render. |
java.lang.String |
getContentType()
The MimeType of the image. |
void |
renderResource(javax.faces.context.ResponseStream out)
Called to render the image to the given outputstream. |
void |
setContext(javax.faces.context.FacesContext facesContext,
ResourceContext resourceContext)
This method will be called first, to set the contexts. |
| Method Detail |
|---|
void setContext(javax.faces.context.FacesContext facesContext,
ResourceContext resourceContext)
throws java.lang.Exception
facesContext - the faces contextimageContext - the image context width aditional image parameters
java.lang.Exceptionint getContentLength()
java.lang.String getContentType()
void renderResource(javax.faces.context.ResponseStream out)
throws java.io.IOException
out - the outputstream which is used to write the binary data of the image
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||