com.liferay.faces.bridge.renderkit.html_basic
Class HeadRendererBridgeImpl

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.liferay.faces.bridge.renderkit.bridge.BridgeRenderer
          extended by com.liferay.faces.bridge.renderkit.html_basic.HeadRendererBridgeImpl
Direct Known Subclasses:
HeadRendererICEfacesImpl, HeadRendererPrimeFacesImpl

public class HeadRendererBridgeImpl
extends BridgeRenderer

This class is a JSF renderer that is designed for use with the h:head component tag. Portlets are forbidden from rendering the ... section, which is what is done by the JSF implementation's version of this renderer. This renderer avoids rendering the ... section and instead delegates that responsibility to the portal.

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.renderkit.bridge.BridgeRenderer
ORIGINAL_TARGET, TARGET_BODY, TARGET_HEAD
 
Constructor Summary
HeadRendererBridgeImpl()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  List<javax.faces.component.UIComponent> getFirstResources(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  List<javax.faces.component.UIComponent> getLastResources(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
protected  List<javax.faces.component.UIComponent> getMiddleResources(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadRendererBridgeImpl

public HeadRendererBridgeImpl()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent uiComponent)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.render.Renderer
Throws:
IOException

getFirstResources

protected List<javax.faces.component.UIComponent> getFirstResources(javax.faces.context.FacesContext facesContext,
                                                                    javax.faces.component.UIComponent uiComponent)

getLastResources

protected List<javax.faces.component.UIComponent> getLastResources(javax.faces.context.FacesContext facesContext,
                                                                   javax.faces.component.UIComponent uiComponent)

getMiddleResources

protected List<javax.faces.component.UIComponent> getMiddleResources(javax.faces.context.FacesContext facesContext,
                                                                     javax.faces.component.UIComponent uiComponent)


Copyright © 2014 Liferay, Inc.. All Rights Reserved.