public class HtmlBasicRenderer
extends javax.faces.render.Renderer
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_CLASS |
static String |
ATTRIBUTE_ID |
static String |
ATTRIBUTE_STYLE |
static String |
ELEMENT_DIV |
static String |
ELEMENT_SECTION |
static String |
ELEMENT_SPAN |
| Constructor and Description |
|---|
HtmlBasicRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encodeRecursive(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render nested child components by invoking the encode methods
on those components, but only when the
rendered
property is true. |
protected Iterator<javax.faces.component.UIComponent> |
getChildren(javax.faces.component.UIComponent component) |
protected javax.faces.component.UIComponent |
getFacet(javax.faces.component.UIComponent component,
String name) |
protected void |
rendererParamsNotNull(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected boolean |
shouldEncode(javax.faces.component.UIComponent component) |
protected boolean |
shouldWriteIdAttribute(javax.faces.component.UIComponent component) |
protected String |
writeIdAttribute(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component) |
protected String |
writeIdAttributeIfNecessary(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component) |
public static final String ELEMENT_DIV
public static final String ELEMENT_SPAN
public static final String ELEMENT_SECTION
public static final String ATTRIBUTE_ID
public static final String ATTRIBUTE_STYLE
public static final String ATTRIBUTE_CLASS
protected void rendererParamsNotNull(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
protected boolean shouldEncode(javax.faces.component.UIComponent component)
protected String writeIdAttributeIfNecessary(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws IOException
IOExceptionprotected String writeIdAttribute(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component) throws IOException
IOExceptionprotected boolean shouldWriteIdAttribute(javax.faces.component.UIComponent component)
component - the component of interestprotected void encodeRecursive(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
Render nested child components by invoking the encode methods
on those components, but only when the rendered
property is true.
context - FacesContext for the current requestcomponent - the component to recursively encodeIOException - if an error occurrs during the encode processprotected Iterator<javax.faces.component.UIComponent> getChildren(javax.faces.component.UIComponent component)
component - UIComponent for which to extract childrenrendered property of true.protected javax.faces.component.UIComponent getFacet(javax.faces.component.UIComponent component,
String name)
component - Component from which to return a facetname - Name of the desired facetrendered property is
set to true.Copyright © 2015. All rights reserved.