public double getDoubleAttribute ( String name ) throws SlickXMLException { try { return Double . parseDouble ( getAttribute ( name ) ) ; } catch ( NumberFormatException e ) { throw new SlickXMLException ( "Value read: '" + getAttribute ( name ) + "' is not a double" , e ) ; } }
Get the value specified for a given attribute on this element as an double .