Class Hierarchy All Classes All Fields and Methods
Class com.ibm.faces.renderkit.html_extended.PlayerRenderer
java.lang.Object javax.faces.render.Renderer com.sun.faces.renderkit.html_basic.HtmlBasicRenderer com.ibm.faces.renderkit.html_extended.PlayerRendererpublic abstract class PlayerRenderer
extends HtmlBasicRendererConvenience base class for UIPlayer component, that implements the default behavior of all player controls.
Tags: n/a Components: UIPlayer
Inner Class Index Class Description PlayerRenderer.Param Player's parameter.
Field Index Field Description ADDITIONAL_PLAYER_SETTINGS MIMETYPE_ATTR
Constructor Index Constructor Description PlayerRenderer()
Method Index Method Description void encodeBegin(FacesContext, UIComponent) Renders the beginning of the component. void encodeEmbedTagAttributes(FacesContext, HashMap, UIComponent) Renders control's plugin. void encodeEnd(FacesContext, UIComponent) Renders the ending of the component. void encodeParams(FacesContext, HashMap, HashMap, UIComponent, PlayerRenderer.Param[]) Renders control's parameters. void encodeSrcParam(FacesContext, HashMap, UIComponent, PlayerRenderer.Param[]) Gets the media source parameter--this can be set uri/url pointing to a file or bound to a back end data. String getDefaultHeight() Returns default control height. String getDefaultWidth() Returns default control width. String getObjectClassId() Returns Class ID for the control. String getObjectCodebase() Returns Code Base for the control. PlayerRenderer.Param[] getObjectParams() Returns a list of parameters for the control. String getObjectType() Returns type of control. String getPluginPage() Returns ULR to control's web site PlayerRenderer.Param[] getPluginParams() Returns a list of parameters for control's plugin. String getPluginType() Returns type of control's plug-in
Fields
ADDITIONAL_PLAYER_SETTINGS
public static final java.lang.String ADDITIONAL_PLAYER_SETTINGS
MIMETYPE_ATTR
public static final java.lang.String MIMETYPE_ATTR
Constructors
PlayerRenderer
public PlayerRenderer()
Methods
encodeBegin
public void encodeBegin(FacesContext context, UIComponent component) throws IOExceptionRenders the beginning of the component.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeBegin in class Renderer
- See Also
- encodeBegin
encodeEmbedTagAttributes
protected void encodeEmbedTagAttributes(FacesContext context, HashMap objEmbedMap, UIComponent component)Renders control's plugin.
- Parameters
- context - FacesContext for the request we are processing
- htmlOutput - String buffer to append HTML to
- component - UIComponent to be rendered
encodeEnd
public void encodeEnd(FacesContext context, UIComponent component) throws IOExceptionRenders the ending of the component.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeEnd in class HtmlBasicRenderer
- See Also
- encodeBegin
encodeParams
protected void encodeParams(FacesContext context, HashMap objParamMap, HashMap objEmbedMap, UIComponent component, PlayerRenderer.Param[] params)Renders control's parameters.
- Parameters
- context - FacesContext for the request we are processing
- htmlOutput - String buffer to append HTML to
- component - UIComponent to be rendered
- params - Array of parameters to be rendered
encodeSrcParam
protected void encodeSrcParam(FacesContext context, HashMap objParamMap, UIComponent component, PlayerRenderer.Param[] params)Gets the media source parameter--this can be set uri/url pointing to a file or bound to a back end data. When binding data the 'mimeType' attribute must also be set, the 'filename' attribute is optional.
- Parameters
- context - FacesContext for the request we are processing
- htmlOutput - String buffer to append HTML to
- component - UIComponent to be rendered
- params - Array of parameters to be rendered
getDefaultHeight
protected String getDefaultHeight()Returns default control height.
- Returns
- height. null if there is no default
getDefaultWidth
protected String getDefaultWidth()Returns default control width.
- Returns
- width. null if there is no default
getObjectClassId
protected abstract String getObjectClassId()Returns Class ID for the control.
- Returns
- Class ID
getObjectCodebase
protected abstract String getObjectCodebase()Returns Code Base for the control.
- Returns
- Code Base
getObjectParams
protected abstract PlayerRenderer.Param[] getObjectParams()Returns a list of parameters for the control.
- Returns
- array of parameters
getObjectType
protected String getObjectType()Returns type of control.
- Returns
- type of control. null if undefined.
getPluginPage
protected abstract String getPluginPage()Returns ULR to control's web site
- Returns
- url
getPluginParams
protected abstract PlayerRenderer.Param[] getPluginParams()Returns a list of parameters for control's plugin.
- Returns
- array of parameters
getPluginType
protected abstract String getPluginType()Returns type of control's plug-in
- Returns
- type of plugin
Class Hierarchy All Classes All Fields and Methods