/* The events are all of the form <qName val="value"/> so we can get all
* the info we need from here.
*/
try {
if(atts.getValue("val") != null) {
StateVariable stateVariable = new StateVariable(localName, new StateVariableTypeDetails(new StringDatatype()));
StateVariableValue stateVariableValue = new StateVariableValue(stateVariable, atts.getValue("val"));
changes.put(localName, stateVariableValue);
}
} catch (IllegalArgumentException e) {
// this means that localName isn't defined in EventType, which is expected for some elements