com.sun.rave.web.ui.renderer
Class ImageRenderer
java.lang.Object
javax.faces.render.Renderer
com.sun.rave.web.ui.renderer.AbstractRenderer
com.sun.rave.web.ui.renderer.ImageRenderer
- Direct Known Subclasses:
- AlarmRenderer, IconRenderer
public class ImageRenderer
- extends AbstractRenderer
Image renderer
Constructor Summary |
ImageRenderer()
Creates a new instance of ImageRenderer |
Method Summary |
protected void |
renderAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the image element's attributes |
protected void |
renderEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the end of the image element |
protected void |
renderStart(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
Render the start of the image element |
Methods inherited from class com.sun.rave.web.ui.renderer.AbstractRenderer |
addBooleanAttributes, addCoreAttributes, addIntegerAttributes, addStringAttributes, decode, encodeBegin, encodeChildren, encodeEnd, getApplication, getAsObject, getAsString, getExternalContext, getFacesContext, getSubmittedValue, isDisabled, isPortlet, isReadOnly, renderMarkup, setSubmittedValue |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageRenderer
public ImageRenderer()
- Creates a new instance of ImageRenderer
renderStart
protected void renderStart(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws java.io.IOException
- Render the start of the image element
- Overrides:
renderStart
in class AbstractRenderer
- Parameters:
context
- The current FacesContextcomponent
- The ImageComponent object to usewriter
- The current ResponseWriter
- Throws:
java.io.IOException
- if an input/output error occurss
renderAttributes
protected void renderAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws java.io.IOException
- Render the image element's attributes
- Overrides:
renderAttributes
in class AbstractRenderer
- Parameters:
context
- The current FacesContextcomponent
- The ImageComponent object to usewriter
- The current ResponseWriter
- Throws:
java.io.IOException
- if an input/output error occurss
renderEnd
protected void renderEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.context.ResponseWriter writer)
throws java.io.IOException
- Render the end of the image element
- Overrides:
renderEnd
in class AbstractRenderer
- Parameters:
context
- The current FacesContextcomponent
- The ImageComponent object to usewriter
- The current ResponseWriter
- Throws:
java.io.IOException
- if an input/output error occurss