config.setInputEncoding(element.getFirstChild().getNodeValue());
} else if ("description".equals(element.getNodeName())) {
config.setDescription(element.getFirstChild().getNodeValue());
} else if ("orientation".equals(element.getNodeName())) {
String s = element.getFirstChild().getNodeValue();
Orientation orientation = orientations.get(s);
if (orientation == null) {
log.error("Wrong orientation value " + s);
} else {
config.setOrientation(orientation);
}