public abstract class MediaRenderer extends MediaRendererCompat
| Modifier and Type | Field and Description |
|---|---|
protected static String |
WIDTH |
AUTOPLAY, CONTENT_TYPE, CONTROLS, DEGRADE, FLASH_PLAYER, FLASH_PLAYER_VERSION, LIBRARY, LOOP, MUTED, NAME, ONABORT, ONBLUR, ONCANPLAY, ONCANPLAYTHROUGH, ONCLICK, ONDBLCLICK, ONDURATIONCHANGE, ONEMPTIED, ONENDED, ONERROR, ONFOCUS, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONLOADEDDATA, ONLOADEDMETADATA, ONLOADSTART, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, ONPAUSE, ONPLAY, ONPLAYING, ONPROGRESS, ONRATECHANGE, ONSEEKED, ONSEEKING, ONSTALLED, ONSUSPEND, ONTIMEUPDATE, ONVOLUMECHANGE, ONWAITING, PRELOAD, STYLE, VALUE| Constructor and Description |
|---|
MediaRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected abstract void |
encodeCustomMediaAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media) |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeFlashPlayer(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media,
String mediaResourceURL) |
protected abstract void |
encodeFlashPlayerChildren(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media,
String mediaResourceURL,
javax.faces.application.ResourceHandler resourceHandler,
javax.faces.application.Application application,
boolean defaultFlashPlayer) |
protected void |
encodeMediaSize(javax.faces.context.ResponseWriter responseWriter,
Media media) |
protected void |
encodeMediaSource(javax.faces.context.ResponseWriter responseWriter,
String mediaResourceURL,
String contentType) |
protected abstract String |
getDefaultFlashPlayerName() |
protected String |
getEncodedResourceURL(javax.faces.context.FacesContext facesContext,
javax.faces.application.ResourceHandler resourceHandler,
javax.faces.application.Application application,
Object value) |
protected String |
getHeight(Media media) |
protected abstract String |
getMediaType() |
boolean |
getRendersChildren() |
protected String |
getWidth(Media media) |
encodeJSF22PassthroughAttributes, isEncodedResourceURL, isFaces_2_2_OrNewerprotected static final String WIDTH
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeBegin in class javax.faces.render.RendererIOExceptionpublic void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeChildren in class javax.faces.render.RendererIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeEnd in class javax.faces.render.RendererIOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Rendererprotected abstract void encodeCustomMediaAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media)
throws IOException
IOExceptionprotected abstract void encodeFlashPlayerChildren(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media,
String mediaResourceURL,
javax.faces.application.ResourceHandler resourceHandler,
javax.faces.application.Application application,
boolean defaultFlashPlayer)
throws IOException
IOExceptionprotected abstract String getDefaultFlashPlayerName()
protected abstract String getMediaType()
protected void encodeFlashPlayer(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
Media media,
String mediaResourceURL)
throws IOException
IOExceptionprotected void encodeMediaSize(javax.faces.context.ResponseWriter responseWriter,
Media media)
throws IOException
IOExceptionprotected void encodeMediaSource(javax.faces.context.ResponseWriter responseWriter,
String mediaResourceURL,
String contentType)
throws IOException
IOExceptionprotected String getEncodedResourceURL(javax.faces.context.FacesContext facesContext, javax.faces.application.ResourceHandler resourceHandler, javax.faces.application.Application application, Object value)
Copyright © 2016 Liferay, Inc.. All rights reserved.