/** * Validates the given Object. * * @param object the Object to validate * @throws ValidationException if the object fails validation */ public void validate(final Object object) throws ValidationException { validate(object, (ValidationContext) null); } // -- validate
if (hasPattern()) { super.validate(dateTime.toString(), context);
typeValidator = new org.exolab.castor.xml.validators.DateTimeValidator(); fieldValidator.setValidator(typeValidator); typeValidator = new org.exolab.castor.xml.validators.DateTimeValidator(); fieldValidator.setValidator(typeValidator);
if (hasPattern()) { super.validate(dateTime.toString(), context);
typeValidator = new org.exolab.castor.xml.validators.DateTimeValidator(); fieldValidator.setValidator(typeValidator); typeValidator = new org.exolab.castor.xml.validators.DateTimeValidator(); fieldValidator.setValidator(typeValidator);
/** * Validates a Date/Time instance. * * @param dateTime the date/time type to validate * @throws ValidationException if the DateTime fails validation */ public void validate(final DateTimeBase dateTime) throws ValidationException { validate(dateTime, (ValidationContext) null); }
/** * Validates a Date/Time instance. * @param dateTime the date/time type to validate * @throws ValidationException if the DateTime fails validation */ public void validate(final DateTimeBase dateTime) throws ValidationException { validate(dateTime, (ValidationContext) null); }
/** * Validates the given Object. * * @param object the Object to validate * @throws ValidationException if the object fails validation */ public void validate(final Object object) throws ValidationException { validate(object, (ValidationContext) null); } //-- validate