public static int parseBoundedIntAttr(Element ele, String attrName, int minValue, int maxValue)
			throws NumberFormatException {
		try {
			return parseBoundedInt(ele.getAttributeValue(attrName), minValue, maxValue);
		}
		catch (NumberFormatException nfe) {
			throw new NumberFormatException("Attribute '" + attrName + "' bad value: " +
				nfe.getMessage() + " in " + toString(ele));
		}
	}
Parses the required attribute as a decimal number, returning its integer
value.

@param ele JDom element that contains the attribute
@param attrName the name of the xml attribute to parse
@param minValue minimum value allowed (inclusive)
@param maxValue maximum value allowed (inclusive)
@return integer value of the attribute
@throws NumberFormatException if intStr could not be parsed or is out of
            range.
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlUtilities.java