/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateIntegerContent(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 validateIntegerContent(T xmlObject) throws ValidationException { if (! isAllowEmptyContent()) { if (xmlObject.getValue() == null) { throw new ValidationException("Integer content may not be empty"); } } }
/** {@inheritDoc} */ public void validate(T xmlObject) throws ValidationException { validateIntegerContent(xmlObject); }