case SKIN:
portalConfig.setSkin(navigator.getContent());
current = navigator.sibling();
break;
case PROPERTIES:
Properties properties = new Properties();
if (navigator.navigate(Axis.CHILD, Element.PROPERTIES_ENTRY)) {
for (StaxNavigator<Element> fork : navigator.fork(Element.PROPERTIES_ENTRY)) {
String key = getRequiredAttribute(fork, Attribute.PROPERTIES_KEY.getLocalName());
String value = getRequiredContent(fork, false);
properties.put(key, value);
}
} else {
throw expectedElement(navigator, Element.PROPERTIES_ENTRY);
}
portalConfig.setProperties(properties);