state.setExceptionHandlers(parseExceptionHandlers(element));
return state;
}
private ViewStateModel parseViewState(Element element) {
ViewStateModel state = new ViewStateModel(element.getAttribute("id"));
state.setParent(element.getAttribute("parent"));
state.setView(element.getAttribute("view"));
state.setRedirect(element.getAttribute("redirect"));
state.setPopup(element.getAttribute("popup"));
state.setModel(element.getAttribute("model"));
state.setVars(parseVars(element));
state.setBinder(parseBinder(element));
state.setOnRenderActions(parseOnRenderActions(element));
state.setAttributes(parseAttributes(element));
state.setSecured(parseSecured(element));
state.setOnEntryActions(parseOnEntryActions(element));
state.setExceptionHandlers(parseExceptionHandlers(element));
state.setTransitions(parseTransitions(element));
state.setOnExitActions(parseOnExitActions(element));
return state;
}