/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateStringContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateBase64BinaryContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateIntegerContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateDateTimeContent(xmlObject); }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateIntegerContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (xmlObject.getValue() == null) { throw new ValidationException("Integer content may not be empty"); } } }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateStringContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (DatatypeHelper.isEmpty(xmlObject.getValue())) { throw new ValidationException("String content may not be empty"); } } }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateBase64BinaryContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (DatatypeHelper.isEmpty(xmlObject.getValue())) { throw new ValidationException("Base64Binary content may not be empty"); } } }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateStringContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateBase64BinaryContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateIntegerContent(xmlObject); }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateDateTimeContent(xmlObject); }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateIntegerContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (xmlObject.getValue() == null) { throw new ValidationException("Integer content may not be empty"); } } }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateStringContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (DatatypeHelper.isEmpty(xmlObject.getValue())) { throw new ValidationException("String content may not be empty"); } } }
/** * Validates the content of the XSBase64Binary object. * * @param xmlObject the object to evaluate * @throws ValidationException thrown if the content of the Base64Binary object is invalid */ protected void validateBase64BinaryContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (DatatypeHelper.isEmpty(xmlObject.getValue())) { throw new ValidationException("Base64Binary content may not be empty"); } } }