/wro4j-core/src/main/java/ro/isdc/wro/model/factory/XmlModelFactory.java
for ( int i = 0; i < resourceNodeList.getLength ( ) ; i++ ) { final Node node = resourceNodeList.item ( i ) ; if ( node instanceof Element ) { final Element resourceElement = ( Element ) node; parseResource ( resourceElement, resources ) ; }
} protected Group createGroup(final Element element) { final String name = element.getAttribute(ATTR_GROUP_NAME); final Group group = new Group(name); final List<Resource> resources = new ArrayList<Resource>(); final NodeList resourceNodeList = element.getChildNodes(); <extra_id_0> } } group.setResources(resources); return group; } private void parseResource(final Element resourceElement, final Collection<Resource> resources) {