/** * XML Deserialization * * @param e * @throws ArtifactNotFoundException * @throws ArtifactStateException * @throws ClassNotFoundException * @throws InstantiationException * @throws IllegalAccessException */ @SuppressWarnings("unchecked") public void configureFromElement(Element e) throws ArtifactNotFoundException, ArtifactStateException, ClassNotFoundException, InstantiationException, IllegalAccessException { dispatchLayers.clear(); for (Element layerElement : (List<Element>) e.getChildren("layer")) { DispatchLayer layer = Tools.buildDispatchLayer(layerElement); dispatchLayers.add(layer); } }