public void addAttribute(String name, short value, boolean hex) {
		addAttribute(name, hex ? Conv.shortToInt(value) : (int) value, hex);
	}
Add a new short attribute.
@param name  the name of the new attribute
@param value the short value
@param hex   true if value should be written in hex
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlAttributes.java