| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.BaseRenderer
public class BaseRenderer
Renderer implementation for the base tag
 from the Struts-Faces Integration Library.
| Constructor Summary | |
|---|---|
BaseRenderer()
 | 
|
| Method Summary | |
|---|---|
 void | 
encodeEnd(javax.faces.context.FacesContext context,
          javax.faces.component.UIComponent component)
Render an HTML base element. | 
protected  boolean | 
isPortletRequest(javax.faces.context.FacesContext context)
Return true if this is a portlet request instance. | 
protected  boolean | 
isServletRequest(javax.faces.context.FacesContext context)
Return true if this is a servlet request instance. | 
protected  String | 
portletUri(javax.faces.context.FacesContext context)
Return an absolute URI for the current page suitable for use in a portlet environment.  | 
protected  String | 
servletUri(javax.faces.context.FacesContext context)
Return an absolute URI for the current page suitable for use in a servlet environment.  | 
protected  String | 
uri(javax.faces.context.FacesContext context)
Return the absolute URI to be rendered as the value of the href attribute. | 
| Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer | 
|---|
decode, encodeBegin, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValue | 
| Methods inherited from class javax.faces.render.Renderer | 
|---|
convertClientId, getConvertedValue, getRendersChildren | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public BaseRenderer()
| Method Detail | 
|---|
public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws IOException
Render an HTML base element.
encodeEnd in class AbstractRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be rendered
IOException - if an input/output error occurs while rendering
NullPointerException - if context
  or component is nullprotected boolean isPortletRequest(javax.faces.context.FacesContext context)
Return true if this is a portlet request instance.
 NOTE:  Implementation must not require portlet API classes to be
 present.
context - FacesContext for the current requestprotected boolean isServletRequest(javax.faces.context.FacesContext context)
Return true if this is a servlet request instance.
context - FacesContext for the current requestprotected String portletUri(javax.faces.context.FacesContext context)
Return an absolute URI for the current page suitable for use in a portlet environment. NOTE: Implementation must not require portlet API classes to be present, so use reflection as needed.
context - FacesContext for the current requestprotected String servletUri(javax.faces.context.FacesContext context)
Return an absolute URI for the current page suitable for use in a servlet environment.
context - FacesContext for the current requestprotected String uri(javax.faces.context.FacesContext context)
Return the absolute URI to be rendered as the value of the
 href attribute.
context - FacesContext for the current request
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||