| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.exolab.castor.xml.validators.PatternValidatororg.exolab.castor.xml.validators.StringValidatororg.exolab.castor.xml.validators.IdValidatorNested Class Summary |
Nested classes/interfaces inherited from class org.exolab.castor.xml.validators.PatternValidator | |
PatternValidator.DefaultRegExpEvaluator | |
Constructor Summary | |
| |
Method Summary | |
void |
|
void |
|
void |
|
Methods inherited from class org.exolab.castor.xml.validators.StringValidator | |
clearFixed, normalize, setFixed, setFixedValue, setLength, setMaxLength, setMinLength, setRequired, setWhiteSpace, validate, validate, validate | |
Methods inherited from class org.exolab.castor.xml.validators.PatternValidator | |
addPattern, clearPatterns, getPattern, getPatterns, hasPattern, isNillable, setNillable, setPattern, validate, validate | |
public void validate(Object object)
throws ValidationExceptionValidates the given Object.
- Overrides:
- validate in interface StringValidator
- Parameters:
object- the Object to validate
- Throws:
ValidationException- if the object fails validation.
public void validate(Object object,
ValidationContext context)
throws ValidationExceptionValidates the given Object.
- Specified by:
- validate in interface TypeValidator
- Overrides:
- validate in interface StringValidator
- Parameters:
object- the Object to validatecontext- the ValidationContext
- Throws:
ValidationException- if the object fails validation.
public void validate(String value,
ValidationContext context)
throws ValidationExceptionValidates the given Object.
- Overrides:
- validate in interface StringValidator
- Parameters:
value- the string to validatecontext- the ValidationContext
- Throws:
ValidationException- if the object fails validation.