public void configureFromElement(Element e) { strategies.clear(); for (Object child : e.getChildren("strategy",XMLSerializationConstants.T2_WORKFLOW_NAMESPACE)) { Element strategyElement = (Element) child; IterationStrategyImpl strategy = new IterationStrategyImpl(); strategy.configureFromXML(strategyElement); addStrategy(strategy); } }
public void configureFromElement(Element e) { strategies.clear(); for (Object child : e.getChildren("strategy")) { Element strategyElement = (Element) child; IterationStrategyImpl strategy = new IterationStrategyImpl(); strategy.configureFromXML(strategyElement); addStrategy(strategy); } }
public void configureFromElement(Element e) { strategies.clear(); for (Object child : e.getChildren("strategy",XMLSerializationConstants.T2_WORKFLOW_NAMESPACE)) { Element strategyElement = (Element) child; IterationStrategyImpl strategy = new IterationStrategyImpl(); strategy.configureFromXML(strategyElement); addStrategy(strategy); } }