public class ResourceInsertRenderer extends javax.faces.render.Renderer
UIViewRoot
for given target.
Plays a role similar role to the HeadRenderer
when JSF resources are declared with target "head", useful to
place js resources at the end of the page, for instance.
Modifier and Type | Field and Description |
---|---|
static String |
RENDERER_TYPE |
Constructor and Description |
---|
ResourceInsertRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
boolean |
getRendersChildren() |
public static final String RENDERER_TYPE
public ResourceInsertRenderer()
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeBegin
in class javax.faces.render.Renderer
IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
Copyright © 2018 Nuxeo. All rights reserved.