if (null != defaultOutcomeList && 1 < defaultOutcomeList.getLength()) {
throw new XPathExpressionException("Within <switch> only one <default-outcome> child is allowed");
}
if (null != defaultOutcomeList) {
String defaultOutcomeStr = defaultOutcomeList.item(0).getNodeValue().trim();
switchBuilder.defaultOutcome(defaultOutcomeStr);
}
}
// </editor-fold>