code: function(elm) {
  			var map = Object.create(null);
  			this.all(elm).forEach(function(att) {
  				map[att.name] = gui.Type.cast(att.value);
  			});
  			return map;
  		}
docs: Get all attributes as hashmap type object.
  Values are converted to an inferred type.
  @param {Element} elm
  @returns {Map<String,String>}