code: public List<ResourceHandle> getChildrenByResourceType(final String resourceType) {
          final ArrayList<ResourceHandle> children = new ArrayList<>();
          if (this.isValid()) {
              for (final Resource child : this.resource.getChildren()) {
                  ResourceHandle handle = ResourceHandle.use(child);
                  if (handle.isResourceType(resourceType)) {
                      children.add(handle);
                  }
              }
          }
          return children;
      }
docs: retrieves all children of a sling:resourceType