private void onAltitudeElementEnd() throws SAXException {
  try {
    elevation=Double.parseDouble(content);
  }
 catch (  NumberFormatException e) {
    throw new SAXException(createErrorMessage("Unable to parse altitude: " + content),e);
  }
}

private void onAltitudeElementEnd ( ) throws SAXException { try { elevation = Double . parseDouble ( content ) ; } catch ( NumberFormatException e ) { throw new SAXException ( createErrorMessage ( "Unable to parse altitude: " + content ) , e ) ; } }
on altitude element end .
