src/main/java/org/xmlet/xsdparser/xsdelements/AttributeValidations.java
public static Double validateRequiredDouble(String elementName, String attributeName, String value){
        if (value == null) throw new ParsingException(attributeMissingMessage(elementName, attributeName));

        return validateDouble(elementName, attributeName, value);
    }
public static Double validateRequiredDouble(String elementName, String attributeName, String value){
        if (value == null) throw new ParsingException(attributeMissingMessage(elementName, attributeName));

        return validateDouble(elementName, attributeName, value);
    }
Validates if a given {@link String} is a {@link Double}. Throws an exception if the {@link String} isn't a {@link Double}.
@param elementName The element name containing the field with the {@link Double} value.
@param attributeName The name of the attribute with the type {@link Double}.
@param value The value to be parsed to a {@link Double} object.
@return The parsed {@link Double} value.