ch.security4web.esapi.renderkit
Class EsapiOutputLinkRenderer
java.lang.Object
HtmlLinkRendererBase
ch.security4web.esapi.renderkit.EsapiOutputLinkRenderer
public class EsapiOutputLinkRenderer
- extends HtmlLinkRendererBase
* 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 |
protected void |
addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
java.lang.String hiddenFieldName)
|
protected java.lang.String |
buildServerOnclick(FacesContext facesContext,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
|
void |
decode(FacesContext facesContext,
UIComponent component)
|
void |
encodeBegin(FacesContext facesContext,
UIComponent component)
|
void |
encodeChildren(FacesContext facesContext,
UIComponent component)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent component)
|
protected FormInfo |
findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk. |
boolean |
getRendersChildren()
|
protected java.lang.String |
getStyle(FacesContext facesContext,
UIComponent link)
Can be overwritten by derived classes to overrule the style to be used. |
protected java.lang.String |
getStyleClass(FacesContext facesContext,
UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used. |
protected void |
renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
java.util.Map<java.lang.String,java.util.List<ClientBehavior>> behaviors,
FormInfo formInfo)
|
protected void |
renderCommandLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderCommandLinkStart(FacesContext facesContext,
UIComponent component,
java.lang.String clientId,
java.lang.Object value,
java.lang.String style,
java.lang.String styleClass)
|
protected void |
renderJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
|
protected void |
renderNonJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
|
protected void |
renderOutcomeLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderOutcomeLinkStart(FacesContext facesContext,
UIOutcomeTarget output)
|
protected void |
renderOutputLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderOutputLinkStart(FacesContext facesContext,
UIOutput output)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
END_LINK_OUTCOME_AS_SPAN
public static final java.lang.String END_LINK_OUTCOME_AS_SPAN
- See Also:
- Constant Field Values
EsapiOutputLinkRenderer
public EsapiOutputLinkRenderer()
getRendersChildren
public boolean getRendersChildren()
decode
public void decode(FacesContext facesContext,
UIComponent component)
encodeBegin
public void encodeBegin(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
getStyle
protected java.lang.String getStyle(FacesContext facesContext,
UIComponent link)
- Can be overwritten by derived classes to overrule the style to be used.
getStyleClass
protected java.lang.String getStyleClass(FacesContext facesContext,
UIComponent link)
- Can be overwritten by derived classes to overrule the style class to be used.
encodeChildren
public void encodeChildren(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderCommandLinkStart
protected void renderCommandLinkStart(FacesContext facesContext,
UIComponent component,
java.lang.String clientId,
java.lang.Object value,
java.lang.String style,
java.lang.String styleClass)
throws java.io.IOException
- Throws:
java.io.IOException
renderJavaScriptAnchorStart
protected void renderJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
throws java.io.IOException
- Throws:
java.io.IOException
renderBehaviorizedJavaScriptAnchorStart
protected void renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
java.util.Map<java.lang.String,java.util.List<ClientBehavior>> behaviors,
FormInfo formInfo)
throws java.io.IOException
- Throws:
java.io.IOException
buildServerOnclick
protected java.lang.String buildServerOnclick(FacesContext facesContext,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
throws java.io.IOException
- Throws:
java.io.IOException
findNestingForm
protected FormInfo findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
- find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk.
addHiddenCommandParameter
protected void addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
java.lang.String hiddenFieldName)
renderNonJavaScriptAnchorStart
protected void renderNonJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
java.lang.String clientId,
FormInfo formInfo)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutputLinkStart
protected void renderOutputLinkStart(FacesContext facesContext,
UIOutput output)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutcomeLinkStart
protected void renderOutcomeLinkStart(FacesContext facesContext,
UIOutcomeTarget output)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutcomeLinkEnd
protected void renderOutcomeLinkEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderOutputLinkEnd
protected void renderOutputLinkEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException
renderCommandLinkEnd
protected void renderCommandLinkEnd(FacesContext facesContext,
UIComponent component)
throws java.io.IOException
- Throws:
java.io.IOException