public static int toInt(final String value){
  return Integer.parseInt(value);
}

public static int toInt ( final String value ) { return Integer . parseInt ( value ) ; }
converts the given xml string to an integer value .
