ch.security4web.esapi.validator
Class EsapiValidation

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by ch.security4web.esapi.validator.EsapiValidation
All Implemented Interfaces:
javax.faces.component.StateHolder

public class EsapiValidation
extends javax.faces.component.UIComponent

* 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
EsapiValidation()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent arg0)
           
 void decode(javax.faces.context.FacesContext context)
           
 void encodeBegin(javax.faces.context.FacesContext context)
           
 void encodeChildren(javax.faces.context.FacesContext arg0)
           
 void encodeEnd(javax.faces.context.FacesContext context)
           
 javax.faces.component.UIComponent findComponent(java.lang.String arg0)
           
 java.util.Map<java.lang.String,java.lang.Object> getAttributes()
           
 int getChildCount()
           
 java.util.List<javax.faces.component.UIComponent> getChildren()
           
 java.lang.String getClientId(javax.faces.context.FacesContext arg0)
           
 javax.faces.component.UIComponent getFacet(java.lang.String arg0)
           
 java.util.Map<java.lang.String,javax.faces.component.UIComponent> getFacets()
           
 java.util.Iterator<javax.faces.component.UIComponent> getFacetsAndChildren()
           
 java.lang.String getFamily()
           
 java.lang.String getId()
           
 javax.faces.component.UIComponent getParent()
           
 java.lang.String getRendererType()
           
 boolean getRendersChildren()
           
 java.lang.String getValue()
           
 javax.faces.el.ValueBinding getValueBinding(java.lang.String arg0)
           
 boolean isRendered()
           
 boolean isTransient()
           
 void processDecodes(javax.faces.context.FacesContext arg0)
           
 void processRestoreState(javax.faces.context.FacesContext arg0, java.lang.Object arg1)
           
 java.lang.Object processSaveState(javax.faces.context.FacesContext arg0)
           
 void processUpdates(javax.faces.context.FacesContext arg0)
           
 void processValidators(javax.faces.context.FacesContext arg0)
           
 void queueEvent(javax.faces.event.FacesEvent arg0)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setId(java.lang.String arg0)
           
 void setParent(javax.faces.component.UIComponent arg0)
           
 void setRendered(boolean arg0)
           
 void setRendererType(java.lang.String arg0)
           
 void setTransient(boolean arg0)
           
 void setValue(java.lang.String value)
           
 void setValueBinding(java.lang.String arg0, javax.faces.el.ValueBinding arg1)
           
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getFacetCount, getValueExpression, invokeOnComponent, setValueExpression
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsapiValidation

public EsapiValidation()
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Specified by:
encodeBegin in class javax.faces.component.UIComponent
Throws:
java.io.IOException

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context)
               throws java.io.IOException
Specified by:
encodeEnd in class javax.faces.component.UIComponent
Throws:
java.io.IOException

decode

public void decode(javax.faces.context.FacesContext context)
Specified by:
decode in class javax.faces.component.UIComponent

isTransient

public boolean isTransient()

setTransient

public void setTransient(boolean arg0)

broadcast

public void broadcast(javax.faces.event.FacesEvent arg0)
               throws javax.faces.event.AbortProcessingException
Specified by:
broadcast in class javax.faces.component.UIComponent
Throws:
javax.faces.event.AbortProcessingException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext arg0)
                    throws java.io.IOException
Specified by:
encodeChildren in class javax.faces.component.UIComponent
Throws:
java.io.IOException

findComponent

public javax.faces.component.UIComponent findComponent(java.lang.String arg0)
Specified by:
findComponent in class javax.faces.component.UIComponent

getAttributes

public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
Specified by:
getAttributes in class javax.faces.component.UIComponent

getChildCount

public int getChildCount()
Specified by:
getChildCount in class javax.faces.component.UIComponent

getChildren

public java.util.List<javax.faces.component.UIComponent> getChildren()
Specified by:
getChildren in class javax.faces.component.UIComponent

getClientId

public java.lang.String getClientId(javax.faces.context.FacesContext arg0)
Specified by:
getClientId in class javax.faces.component.UIComponent

getFacet

public javax.faces.component.UIComponent getFacet(java.lang.String arg0)
Specified by:
getFacet in class javax.faces.component.UIComponent

getFacets

public java.util.Map<java.lang.String,javax.faces.component.UIComponent> getFacets()
Specified by:
getFacets in class javax.faces.component.UIComponent

getFacetsAndChildren

public java.util.Iterator<javax.faces.component.UIComponent> getFacetsAndChildren()
Specified by:
getFacetsAndChildren in class javax.faces.component.UIComponent

getId

public java.lang.String getId()
Specified by:
getId in class javax.faces.component.UIComponent

getParent

public javax.faces.component.UIComponent getParent()
Specified by:
getParent in class javax.faces.component.UIComponent

getRendererType

public java.lang.String getRendererType()
Specified by:
getRendererType in class javax.faces.component.UIComponent

getRendersChildren

public boolean getRendersChildren()
Specified by:
getRendersChildren in class javax.faces.component.UIComponent

getValueBinding

public javax.faces.el.ValueBinding getValueBinding(java.lang.String arg0)
Specified by:
getValueBinding in class javax.faces.component.UIComponent

isRendered

public boolean isRendered()
Specified by:
isRendered in class javax.faces.component.UIComponent

processDecodes

public void processDecodes(javax.faces.context.FacesContext arg0)
Specified by:
processDecodes in class javax.faces.component.UIComponent

processRestoreState

public void processRestoreState(javax.faces.context.FacesContext arg0,
                                java.lang.Object arg1)
Specified by:
processRestoreState in class javax.faces.component.UIComponent

processSaveState

public java.lang.Object processSaveState(javax.faces.context.FacesContext arg0)
Specified by:
processSaveState in class javax.faces.component.UIComponent

processUpdates

public void processUpdates(javax.faces.context.FacesContext arg0)
Specified by:
processUpdates in class javax.faces.component.UIComponent

processValidators

public void processValidators(javax.faces.context.FacesContext arg0)
Specified by:
processValidators in class javax.faces.component.UIComponent

queueEvent

public void queueEvent(javax.faces.event.FacesEvent arg0)
Specified by:
queueEvent in class javax.faces.component.UIComponent

setId

public void setId(java.lang.String arg0)
Specified by:
setId in class javax.faces.component.UIComponent

setParent

public void setParent(javax.faces.component.UIComponent arg0)
Specified by:
setParent in class javax.faces.component.UIComponent

setRendered

public void setRendered(boolean arg0)
Specified by:
setRendered in class javax.faces.component.UIComponent

setRendererType

public void setRendererType(java.lang.String arg0)
Specified by:
setRendererType in class javax.faces.component.UIComponent

setValueBinding

public void setValueBinding(java.lang.String arg0,
                            javax.faces.el.ValueBinding arg1)
Specified by:
setValueBinding in class javax.faces.component.UIComponent