public class WroModelInspector extends Object
| Constructor and Description |
|---|
WroModelInspector(WroModel model) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Resource> |
getAllResources() |
Collection<Resource> |
getAllUniqueResources() |
Group |
getGroupByName(String name) |
List<String> |
getGroupNames() |
String |
getGroupNamesAsString()
This implementation would be simpler if java would have closures :).
|
Collection<String> |
getGroupNamesContainingResource(String resourceUri) |
boolean |
hasGroup(String groupName) |
public WroModelInspector(WroModel model)
public Group getGroupByName(String name)
name - of group to find.public Collection<String> getGroupNamesContainingResource(String resourceUri)
resource - the Resource to search in all available groups.public boolean hasGroup(String groupName)
groupName - the nam of the group to check.public String getGroupNamesAsString()
public Collection<Resource> getAllUniqueResources()
public Collection<Resource> getAllResources()
Copyright © 2008-2014. All Rights Reserved.