/** * Perform validation on a component and its properties. * * @throws ValidationException where the component is not in a valid state */ public final void validate() throws ValidationException { validate(true); }
/** * Perform validation on a component and its properties. * * @throws ValidationException where the component is not in a valid state */ public final void validate() throws ValidationException { validate(true); }
/** * Perform validation on a component and its properties. * * @throws ValidationException where the component is not in a valid state */ public final void validate() throws ValidationException { validate(true); }
/** * Perform validation on a component. * @param recurse indicates whether to validate the component's properties * @throws ValidationException where the component is not in a valid state */ public abstract void validate(final boolean recurse) throws ValidationException;
/** * Perform validation on a component and its properties. * * @throws ValidationException where the component is not in a valid state */ public final void validate() throws ValidationException { validate(true); }
/** * Test component validation. */ public final void testValidation() throws ValidationException { component.validate(); }
/** * Invoke validation on the calendar components in its current state. * @throws ValidationException where any of the calendar components is not in a valid state */ private void validateComponents() throws ValidationException { for (Component component : getComponents()) { component.validate(); } }
/** * Invoke validation on the calendar components in its current state. * @throws ValidationException where any of the calendar components is not in a valid state */ private void validateComponents() throws ValidationException { for (Component component : getComponents()) { component.validate(); } }
/** * Invoke validation on the calendar components in its current state. * @throws ValidationException where any of the calendar components is not in a valid state */ private void validateComponents() throws ValidationException { for (Component component : getComponents()) { component.validate(); } }
/** * Invoke validation on the calendar components in its current state. * @throws ValidationException where any of the calendar components is not in a valid state */ private void validateComponents() throws ValidationException { for (Component component : getComponents()) { component.validate(); } }
/** * Invoke validation on the calendar components in its current state. * @throws ValidationException where any of the calendar components is not in a valid state */ private void validateComponents() throws ValidationException { for (final Iterator i = getComponents().iterator(); i.hasNext();) { final Component component = (Component) i.next(); component.validate(); } }
/** * Test component validation. */ public final void testRelaxedValidation() throws ValidationException { CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_VALIDATION, true); component.validate(); }
/** * */ public final void testValidationException() { try { component.validate(); fail("ValidationException should be thrown!"); } catch (ValidationException ve) { LOG.debug("Exception caught", ve); } }
((Component) i.next()).validate(recurse);
result.validate(true); Debug.logVerbose("iCalendar component passes validation", module); } catch (ValidationException e) {