ch.security4web.esapi.renderkit
Class EsapiTextRenderer
java.lang.Object
HtmlTextRendererBase
ch.security4web.esapi.renderkit.EsapiTextRenderer
public class EsapiTextRenderer
- extends 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
|
Method Summary |
void |
decode(FacesContext facesContext,
UIComponent component)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent component)
|
java.lang.Object |
getConvertedValue(FacesContext facesContext,
UIComponent component,
java.lang.Object submittedValue)
|
protected java.lang.String |
getInputHtmlType(UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered. |
protected boolean |
isAutocompleteOff(FacesContext facesContext,
UIComponent component)
If autocomplete is "on" or not set, do not render it |
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent component)
|
protected boolean |
isRenderOutputEventAttributes()
|
protected void |
renderInput(FacesContext facesContext,
UIComponent component)
|
protected void |
renderInputBegin(FacesContext facesContext,
UIComponent component)
|
protected void |
renderInputEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderOutput(FacesContext facesContext,
UIComponent component)
|
static void |
renderOutputText(FacesContext facesContext,
UIComponent component,
java.lang.String text,
boolean escape)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EsapiTextRenderer
public EsapiTextRenderer()
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutput
protected void renderOutput(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
isRenderOutputEventAttributes
protected boolean isRenderOutputEventAttributes()
renderInput
protected void renderInput(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderInputBegin
protected void renderInputBegin(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderInputEnd
protected void renderInputEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
isDisabled
protected boolean isDisabled(FacesContext facesContext,
UIComponent component)
isAutocompleteOff
protected boolean isAutocompleteOff(FacesContext facesContext,
UIComponent component)
- If autocomplete is "on" or not set, do not render it
decode
public void decode(FacesContext facesContext,
UIComponent component)
getConvertedValue
public java.lang.Object getConvertedValue(FacesContext facesContext,
UIComponent component,
java.lang.Object submittedValue)
throws ConverterException
- Throws:
ConverterException
getInputHtmlType
protected java.lang.String getInputHtmlType(UIComponent component)
- Returns the HTML type attribute of HTML input element, which is being rendered.
renderOutputText
public static void renderOutputText(FacesContext facesContext,
UIComponent component,
java.lang.String text,
boolean escape)
throws java.io.IOException
- Throws:
java.io.IOException