ch.security4web.esapi.validator
Class EsapiValidator

java.lang.Object
  extended by ch.security4web.esapi.validator.EsapiValidator
All Implemented Interfaces:
java.util.EventListener, javax.faces.validator.Validator

public class EsapiValidator
extends java.lang.Object
implements javax.faces.validator.Validator

* 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

Field Summary
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
EsapiValidator()
           
 
Method Summary
 java.lang.String getEncoding()
           
 java.lang.String getFormat()
           
 java.lang.String getName()
           
 void setEncoding(java.lang.String encoding)
           
 void setFormat(java.lang.String format)
           
 void setName(java.lang.String name)
           
 void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsapiValidator

public EsapiValidator()
Method Detail

validate

public void validate(javax.faces.context.FacesContext context,
                     javax.faces.component.UIComponent component,
                     java.lang.Object value)
              throws javax.faces.validator.ValidatorException
Specified by:
validate in interface javax.faces.validator.Validator
Throws:
javax.faces.validator.ValidatorException

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String encoding)