ch.security4web.esapi.renderkit
Class EsapiTextRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase
              extended by ch.security4web.esapi.renderkit.EsapiTextRenderer

public class EsapiTextRenderer
extends org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase

* OWASP Enterprise Security API (ESAPI) This file is part of the Open Web Application Security Project (OWASP) Enterprise Security API (ESAPI) project. For details, please see http://www.owasp.org/index.php/ESAPI. Copyright (c) 2007 - The OWASP Foundation The ESAPI is published by OWASP under the BSD license. You should read and accept the LICENSE before you use, modify, and/or redistribute this software.

Since:
1.0
Version:
2.0
Author:
Rakesh, Dr.Prof.Emmanuel, Matthey Samuel

Constructor Summary
EsapiTextRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.Object submittedValue)
           
static void renderOutputText(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, java.lang.String text, boolean escape)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getChildCount, getChildren, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsapiTextRenderer

public EsapiTextRenderer()
Method Detail

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.renderkit.html.HtmlTextRendererBase
Throws:
java.io.IOException

decode

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

getConvertedValue

public java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext,
                                          javax.faces.component.UIComponent component,
                                          java.lang.Object submittedValue)
                                   throws javax.faces.convert.ConverterException
Overrides:
getConvertedValue in class org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase
Throws:
javax.faces.convert.ConverterException

renderOutputText

public static void renderOutputText(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent component,
                                    java.lang.String text,
                                    boolean escape)
                             throws java.io.IOException
Throws:
java.io.IOException