private static void loadShadow(Elem e, SShape shape) throws XPathExpressionException {
if(e.xpath("shadow").iterator().hasNext()) {
Elem shadow = e.xpath("shadow").iterator().next();
shape.setShadow(new DropShadow()
.setColor(new FlatColor(shadow.attr("color")))
.setBlurRadius(Integer.parseInt(shadow.attr("radius")))
.setOpacity(Double.parseDouble(shadow.attr("opacity")))
.setXOffset(Double.parseDouble(shadow.attr("xOffset")))
.setYOffset(Double.parseDouble(shadow.attr("yOffset")))
);
}