if (state.getView() != null) {
buf.append("\nView: " + state.getView());
}
}
if (element instanceof ISubflowState) {
ISubflowState state = (ISubflowState) element;
if (WebflowModelXmlUtils.isVersion1Flow(state)) {
if (state.getFlow() != null) {
buf.append("\nFlow: " + state.getFlow());
}
}
else {
if (state.getFlow() != null) {
buf.append("\nSubflow: " + state.getFlow());
}
}
}
if (element instanceof IEndState) {
IEndState state = (IEndState) element;
if (state.getView() != null) {
buf.append("\nView: " + state.getView());
}
}
if (element instanceof IStateTransition) {
IStateTransition state = (IStateTransition) element;
if (state.getOnException() != null) {
buf.append("\nOn-exception: " + state.getOnException());
}
}
}
if (showElementType) {