TypeValidator
public class IdValidator extends StringValidator implements TypeValidator
resourceBundle
Constructor | Description |
---|---|
IdValidator() |
Creates a new IdValidator with no restrictions.
|
Modifier and Type | Method | Description |
---|---|---|
void |
validate(java.lang.Object object) |
Validates the given Object.
|
void |
validate(java.lang.Object object,
ValidationContext context) |
Validates the given Object.
|
void |
validate(java.lang.String value,
ValidationContext context) |
Validates the given Object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPattern, clearPatterns, getPatterns, hasPattern, isNillable, setNillable
clearFixed, normalize, setFixed, setFixedValue, setLength, setMaxLength, setMinLength, setRequired, setWhiteSpace
public void validate(java.lang.String value, ValidationContext context) throws ValidationException
validate
in class StringValidator
value
- the string to validatecontext
- the ValidationContextValidationException
- if the object fails validation.#setPattern
public void validate(java.lang.Object object) throws ValidationException
validate
in class StringValidator
object
- the Object to validateValidationException
- if the object fails validation.public void validate(java.lang.Object object, ValidationContext context) throws ValidationException
validate
in interface TypeValidator
validate
in class StringValidator
object
- the Object to validatecontext
- the ValidationContextValidationException
- if the object fails validation.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com