public static int parseInt(String intStr, int defaultValue) throws NumberFormatException {
		return parseOptionalBoundedInt(intStr, defaultValue, Integer.MIN_VALUE, Integer.MAX_VALUE);
	}
Parses the optional specified string as a decimal number, returning its
integer value.

@param intStr string with integer digits, or empty or null
@param defaultValue value to return if intStr is missing
@return integer value of the intStr
@throws NumberFormatException if intStr could not be parsed or the string
            specifies a value outside the range of a signed 32 bit
            integer.
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlUtilities.java