/** * 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); }
/** * 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
/** * Only used for backward compatibility for object model generated with an * old version of Castor. * * @param fixedValue * the fixed value that all Strings must match * * @deprecated since 0.9.4_beta */ public void setFixedValue(final String fixedValue) { setFixed(fixedValue); }
/** * Sets the required string length for String validation. To pass validation, a String must be * exactly this many characters long. To remove this facet, set a negative value. * * @param length the required length for valid Strings */ public void setLength(final int length) { this._length = length; setMaxLength(length); setMinLength(length); } // -- setLength
/** * 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
/** * 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
/** * Creates a new IdRefsValidator with no restrictions. */ public IdRefsValidator() { super(); _idRefValidator = new IdRefValidator(); }
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * 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
/** * Only used for backward compatibility for object model generated with an old version of Castor. * * @param fixedValue the fixed value that all Strings must match * * @deprecated since 0.9.4_beta */ public void setFixedValue(final String fixedValue) { setFixed(fixedValue); }
/** * 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
/** * 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
/** * Creates a new IdRefsValidator with no restrictions. */ public IdRefsValidator() { super(); _idRefValidator = new IdRefValidator(); }
/** * Validates the given Object. * * @param value the string to validate * @param context the ValidationContext * @throws ValidationException if the object fails validation. */ public void validate(final String value, final ValidationContext context) throws ValidationException { super.validate(value, context); } // -- validate