org.apache.myfaces.view.facelets.component
Class JsfElementRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.view.facelets.component.JsfElementRenderer

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Panel",
             type="javax.faces.passthrough.Element")
public class JsfElementRenderer
extends HtmlRenderer

Author:
Leonardo Uribe

Field Summary
 
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
 
Constructor Summary
JsfElementRenderer()
           
 
Method Summary
 void decode(FacesContext context, UIComponent component)
           
 void encodeBegin(FacesContext facesContext, UIComponent component)
           
 void encodeChildren(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 boolean getRendersChildren()
           
protected  boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
           
protected  boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfElementRenderer

public JsfElementRenderer()
Method Detail

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class Renderer

decode

public void decode(FacesContext context,
                   UIComponent component)
Overrides:
decode in class Renderer

encodeBegin

public void encodeBegin(FacesContext facesContext,
                        UIComponent component)
                 throws IOException
Overrides:
encodeBegin in class Renderer
Throws:
IOException

encodeChildren

public void encodeChildren(FacesContext facesContext,
                           UIComponent component)
                    throws IOException
Overrides:
encodeChildren in class Renderer
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

isCommonPropertiesOptimizationEnabled

protected boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonPropertiesOptimizationEnabled in class HtmlRenderer

isCommonEventsOptimizationEnabled

protected boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonEventsOptimizationEnabled in class HtmlRenderer


Copyright © 2015 The Apache Software Foundation. All rights reserved.