set.addAttributes(parseAttributes(element));
return set;
}
private ActionStateModel parseActionState(Element element) {
ActionStateModel state = new ActionStateModel(element.getAttribute("id"));
state.setParent(element.getAttribute("parent"));
state.setAttributes(parseAttributes(element));
state.setSecured(parseSecured(element));
state.setOnEntryActions(parseOnEntryActions(element));
state.setTransitions(parseTransitions(element));
state.setOnExitActions(parseOnExitActions(element));
state.setActions(parseActions(element));
state.setExceptionHandlers(parseExceptionHandlers(element));
return state;
}