|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.Validator
public class Validator
A class which can perform Validation on an Object model. This class uses the ClassDescriptors and FieldDescriptors to perform the validation.
| Field Summary | |
|---|---|
protected static ResourceBundle |
resourceBundle
resource bundle |
| Constructor Summary | |
|---|---|
Validator()
Creates a new Validator. |
|
| Method Summary | |
|---|---|
void |
checkUnresolvedIdrefs(ValidationContext context)
|
void |
validate(Object object)
Validates the given Object. |
void |
validate(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 |
| Field Detail |
|---|
protected static ResourceBundle resourceBundle
| Constructor Detail |
|---|
public Validator()
| Method Detail |
|---|
public void validate(Object object)
throws ValidationException
object - the Object to validate
ValidationException - if validation fails.
public void validate(Object object,
ValidationContext context)
throws ValidationException
validate in interface TypeValidatorvalidate 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 | |||||||||