Save This Page
Home » Castor-1.3-src » org.exolab.castor » xml » validators » [javadoc | source]
org.exolab.castor.xml.validators
public interface: ClassValidator [javadoc | source]

All Implemented Interfaces:
    TypeValidator

The validation interface used for validating class instances.
Method from org.exolab.castor.xml.validators.ClassValidator Summary:
validate
Method from org.exolab.castor.xml.validators.ClassValidator Detail:
 public  void validate(Object object,
    ValidationContext context) throws ValidationException
    Validates the given Object. An exception should be thrown when the first invalid field is discovered.