public class ViewRenderer
extends javax.faces.render.Renderer
| Constructor and Description |
|---|
ViewRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected static boolean |
renderAsFragment(javax.faces.context.FacesContext context)
Looks at Sakai-specific attributes to determine if the view should
render HTML, HEAD, BODY; if the request attribute "sakai.fragment"="true",
then don't render HTML, HEAD, BODY, etc.
|
boolean |
supportsComponentType(javax.faces.component.UIComponent component) |
public boolean supportsComponentType(javax.faces.component.UIComponent component)
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeBegin in class javax.faces.render.RendererIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeEnd in class javax.faces.render.Renderercontext - FacesContext for the request we are processingcomponent - UIComponent to be renderedIOException - if an input/output error occurs while renderingNullPointerException - if context or component is nullprotected static boolean renderAsFragment(javax.faces.context.FacesContext context)
context - Copyright © 2003–2020 University of Michigan. All rights reserved.