* @param xmlObject the object to validate
* @throws ValidationException thrown if the object is invalid
*/
protected void validateChildrenPresence(RSAKeyValue xmlObject) throws ValidationException {
if (xmlObject.getModulus() == null) {
throw new ValidationException("RSAKeyValue did not contain a required Modulus value");
}
if (xmlObject.getExponent() == null) {
throw new ValidationException("RSAKeyValue did not contain a required Exponent value");
}
}