wro4j-core/src/main/java/ro/isdc/wro/model/factory/XmlModelFactory.java
private Collection<Resource> getResourcesForGroup(final String groupName) {
    final WroModelInspector modelInspector = new WroModelInspector(model);
    final Group foundGroup = modelInspector.getGroupByName(groupName);
    if (foundGroup == null) {
      final Element groupElement = allGroupElements.get(groupName);
      if (groupElement == null) {
        throw new WroRuntimeException("Invalid group-ref: " + groupName);
      }
      return parseGroup(groupElement);
    }
    return foundGroup.getResources();
  }
private Collection<Resource> getResourcesForGroup(final String groupName) {
    final WroModelInspector modelInspector = new WroModelInspector(model);
    final Group foundGroup = modelInspector.getGroupByName(groupName);
    if (foundGroup == null) {
      final Element groupElement = allGroupElements.get(groupName);
      if (groupElement == null) {
        throw new WroRuntimeException("Invalid group-ref: " + groupName);
      }
      return parseGroup(groupElement);
    }
    return foundGroup.getResources();
  }
private Collection < Resource > getResourcesForGroup ( final String groupName ) { final WroModelInspector modelInspector = new WroModelInspector ( model ) ; final Group foundGroup = modelInspector . getGroupByName ( groupName ) ; if ( foundGroup == null ) { final Element groupElement = allGroupElements . get ( groupName ) ; if ( groupElement == null ) { throw new WroRuntimeException ( "Invalid group-ref: " + groupName ) ; } return parseGroup ( groupElement ) ; } return foundGroup . getResources ( ) ; }
Search for all resources for a group with a given name.
Search for all resources for a group with a given name .