|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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 |
validate(java.lang.Object object)
Validates the given Object |
void |
validate(java.lang.Object object,
ClassDescriptorResolver resolver)
Validates the given Object |
Methods inherited from class java.lang.Object |
equals,
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 validatepublic void validate(java.lang.Object object, ClassDescriptorResolver resolver) throws ValidationException
object
- the Object to validateresolver
- the ClassDescriptorResolver to load
ClassDescriptors for use during validation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |