output.setRequired(element.getAttribute("required"));
return output;
}
private TransitionModel parseTransition(Element element) {
TransitionModel transition = new TransitionModel();
transition.setOn(element.getAttribute("on"));
transition.setTo(element.getAttribute("to"));
transition.setOnException(element.getAttribute("on-exception"));
transition.setBind(element.getAttribute("bind"));
transition.setValidate(element.getAttribute("validate"));
transition.setValidationHints(element.getAttribute("validation-hints"));
transition.setHistory(element.getAttribute("history"));
transition.setAttributes(parseAttributes(element));
transition.setSecured(parseSecured(element));
transition.setActions(parseActions(element));
return transition;
}