code: public List<WebResourceCollectionType<SecurityConstraintType<T>>> getAllWebResourceCollection()
     {
        List<WebResourceCollectionType<SecurityConstraintType<T>>> list = new ArrayList<WebResourceCollectionType<SecurityConstraintType<T>>>();
        List<Node> nodeList = childNode.get("web-resource-collection");
        for(Node node: nodeList)
        {
           WebResourceCollectionType<SecurityConstraintType<T>>  type = new WebResourceCollectionTypeImpl<SecurityConstraintType<T>>(this, "web-resource-collection", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>web-resource-collection</code> elements
  @return list of <code>web-resource-collection</code>