|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.xml.Validator
A class which can perform Validation on an Object model. This class uses the ClassDescriptors and FieldDescriptors to perform the validation.
| Constructor Summary | |
Validator()
Creates a new Validator. |
|
| Method Summary | |
void |
checkUnresolvedIdrefs(ValidationContext context)
|
void |
validate(java.lang.Object object)
Validates the given Object. |
void |
validate(java.lang.Object object,
ValidationContext context)
Validates the given Object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Validator()
| Method Detail |
public void validate(java.lang.Object object)
throws ValidationException
object - the Object to validate
ValidationException - if validation fails.
public void validate(java.lang.Object object,
ValidationContext context)
throws ValidationException
validate in interface ClassValidatorobject - the Object to validatecontext - the ValidationContext to use during validation.
ValidationException - if validation fails.
public void checkUnresolvedIdrefs(ValidationContext context)
throws ValidationException
ValidationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||