org.apache.myfaces.custom.outputlinkdynamic
Class OutputLinkDynamicRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
              extended by org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer
                  extended by org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
                      extended by org.apache.myfaces.custom.outputlinkdynamic.OutputLinkDynamicRenderer
All Implemented Interfaces:
org.apache.myfaces.renderkit.html.util.ResourceLoader

public class OutputLinkDynamicRenderer
extends HtmlLinkRenderer
implements org.apache.myfaces.renderkit.html.util.ResourceLoader

Version:
$Revision: 659874 $ $Date: 2008-05-24 15:59:15 -0500 (Sat, 24 May 2008) $
Author:
Sylvain Vieujot

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.myfaces.renderkit.html.util.ResourceLoader
org.apache.myfaces.renderkit.html.util.ResourceLoader.ClosedSocketException
 
Field Summary
static java.lang.String RENDERER_TYPE
           
 
Constructor Summary
OutputLinkDynamicRenderer()
           
 
Method Summary
protected  ResourceContext createResourceContext(javax.faces.context.FacesContext facesContext)
           
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  java.util.Map getParameterMap(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  void renderResource(ResourceRenderer resourceRenderer, javax.faces.context.FacesContext facesContext)
           
 void serveResource(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String resourceUri)
           
 
Methods inherited from class org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
renderCommandLinkEnd, renderCommandLinkStart, renderOutputLinkEnd, renderOutputLinkStart, renderSpanEnd, renderSpanStart
 
Methods inherited from class org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer
addHiddenCommandParameter, findNestingForm
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
encodeChildren, getRendersChildren, getStyle, getStyleClass, renderJavaScriptAnchorStart, renderNonJavaScriptAnchorStart
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.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
 

Field Detail

RENDERER_TYPE

public static final java.lang.String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

OutputLinkDynamicRenderer

public OutputLinkDynamicRenderer()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component)
                 throws java.io.IOException
Overrides:
encodeBegin in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException
Overrides:
encodeEnd in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
Throws:
java.io.IOException

getParameterMap

protected java.util.Map getParameterMap(javax.faces.context.FacesContext context,
                                        javax.faces.component.UIComponent component)

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase

serveResource

public void serveResource(javax.servlet.ServletContext context,
                          javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          java.lang.String resourceUri)
                   throws java.io.IOException
Specified by:
serveResource in interface org.apache.myfaces.renderkit.html.util.ResourceLoader
Throws:
java.io.IOException
See Also:
ResourceLoader.serveResource(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)

renderResource

protected void renderResource(ResourceRenderer resourceRenderer,
                              javax.faces.context.FacesContext facesContext)
                       throws java.lang.Exception
Throws:
java.lang.Exception

createResourceContext

protected ResourceContext createResourceContext(javax.faces.context.FacesContext facesContext)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.