public boolean isCollectionResource()

in src/main/java/org/apache/sling/jcr/webdav/impl/helper/SlingResourceConfig.java [117:132]


    public boolean isCollectionResource(Item item) {
        if (item.isNode()) {
            Node node = (Node) item;
            for (String type : collectionTypes) {
                try {
                    if (node.isNodeType(type)) {
                        return false;
                    }
                } catch (RepositoryException re) {
                    // TODO: log and continue
                }
            }
        }

        return true;
    }