private static double parseDoubleValue(String parseString,String openTag,String closeTag,DataTypeValidationException exception) throws DataTypeValidationException {
  String tagValue;
  tagValue=parseStringValue(parseString,openTag,closeTag,exception);
  double doubleValue;
  try {
    doubleValue=Double.parseDouble(tagValue);
  }
 catch (  NumberFormatException e) {
    throw e;
  }
  return doubleValue;
}

private static double parseDoubleValue ( String parseString , String openTag , String closeTag , DataTypeValidationException exception ) throws DataTypeValidationException { String tagValue ; tagValue = parseStringValue ( parseString , openTag , closeTag , exception ) ; double doubleValue ; try { doubleValue = Double . parseDouble ( tagValue ) ; } catch ( NumberFormatException e ) { throw e ; } return doubleValue ; }
parses out and converts the text located between first occurrences of the open and closed tags into double .
