}
if (hasAttribute(element, "orientation")) {
String orientationStr = element.getAttributeValue(DataTablesDialect.DIALECT_PREFIX + ":orientation");
Orientation orientationEnum = null;
try {
orientationEnum = Orientation.valueOf(orientationStr.toUpperCase().trim());
} catch (IllegalArgumentException e) {
StringBuilder sb = new StringBuilder();
sb.append("'");