com.atlassian.bamboo.ww2.validators
Class XssSafeValidator

java.lang.Object
  extended by com.opensymphony.xwork.validator.validators.ValidatorSupport
      extended by com.opensymphony.xwork.validator.validators.FieldValidatorSupport
          extended by com.atlassian.bamboo.ww2.validators.XssSafeValidator
All Implemented Interfaces:
com.opensymphony.xwork.validator.FieldValidator, com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator

public class XssSafeValidator
extends com.opensymphony.xwork.validator.validators.FieldValidatorSupport

EmailValidator checks that a given String field, if not empty is XSS safe


Field Summary
 
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
defaultMessage, messageKey
 
Constructor Summary
XssSafeValidator()
           
 
Method Summary
 void validate(java.lang.Object object)
           
 
Methods inherited from class com.opensymphony.xwork.validator.validators.FieldValidatorSupport
getFieldName, getValidatorType, setFieldName, setValidatorType
 
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork.validator.Validator
getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext
 

Constructor Detail

XssSafeValidator

public XssSafeValidator()
Method Detail

validate

public void validate(java.lang.Object object)
              throws com.opensymphony.xwork.validator.ValidationException
Throws:
com.opensymphony.xwork.validator.ValidationException


Copyright © 2012 Atlassian. All Rights Reserved.