code: public void setType(String type) throws ApplicationException {
  	type = type.toLowerCase().trim();
  	if (type.equals("string")) this.type = RegistryEntry.TYPE_STRING;
  	else if (type.equals("dword")) this.type = RegistryEntry.TYPE_DWORD;
  	else if (type.equals("key")) this.type = RegistryEntry.TYPE_KEY;
  	else if (type.equals("any")) this.type = RegistryEntry.TYPE_ANY;
  	else throw new ApplicationException("attribute type of the tag registry has an invalid value [" + type + "], valid values are [string, dword]");
      }
docs: set the value type string: return string values dWord: return DWord values key: return keys any:
  return keys and values
  
  @param type value to set
  @throws ApplicationException