} else if(segCode.equals("UNA")) {
return new UNAHandler();
} else if(segCode.equals("UNB")) {
return new UNBHandler(unbSegment, unzSegment, toCharsetMapping);
} else if(segCode.charAt(0) == 'U') {
return new GenericHandler();
}
throw new SAXException("Unknown/Unexpected UN/EDIFACT control block segment code '" + segCode + "'.");
}