TypeValidatorpublic class BooleanValidator extends PatternValidator implements TypeValidator
resourceBundle| Constructor | Description | 
|---|---|
| BooleanValidator() | Creates a new BooleanValidator with no restrictions. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | clearFixed() | Clears the fixed value for this BooleanValidator. | 
| java.lang.Boolean | getFixed() | Returns the fixed value that booleans validated with this validator
 must be equal to. | 
| boolean | hasFixed() | Returns true if a fixed value to validate against has been set. | 
| void | setFixed(boolean fixedValue) | Sets the fixed value for boolean validation. | 
| void | setFixed(java.lang.Boolean fixedValue) | Sets the fixed value for boolean validation. | 
| void | validate(boolean b,
        ValidationContext context) | Validates the given Object. | 
| void | validate(java.lang.Object object) | Validates the given Object. | 
| void | validate(java.lang.Object object,
        ValidationContext context) | Validates the given Object. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPattern, clearPatterns, getPatterns, hasPattern, isNillable, setNillable, validatepublic BooleanValidator()
public void clearFixed()
public java.lang.Boolean getFixed()
public boolean hasFixed()
public void setFixed(boolean fixedValue)
fixedValue - the fixed value that a boolean validated with this validator
            must be equal to.public void setFixed(java.lang.Boolean fixedValue)
fixedValue - the fixed value that a boolean validated with this validator
            must be equal to.public void validate(boolean b,
                     ValidationContext context)
              throws ValidationException
b - the boolean to validatecontext - the ValidationContextValidationException - if the object fails validation.public void validate(java.lang.Object object)
              throws ValidationException
object - the Object to validateValidationException - if the object fails validation.public void validate(java.lang.Object object,
                     ValidationContext context)
              throws ValidationException
validate in interface TypeValidatorvalidate in class PatternValidatorobject - the Object to validatecontext - the ValidationContextValidationException - if the object fails validation.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com