wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java
public static Collection<AbstractHtml> findTagsByTagFilter(
            final Predicate<? super AbstractHtml> filter,
            final AbstractHtml... fromTags) throws NullValueException {

        if (filter == null) {
            throw new NullValueException("The filter should not be null");
        }

        return findTagsByTagFilter(false, filter, fromTags);
    }
public static Collection<AbstractHtml> findTagsByTagFilter(
            final Predicate<? super AbstractHtml> filter,
            final AbstractHtml... fromTags) throws NullValueException {

        if (filter == null) {
            throw new NullValueException("The filter should not be null");
        }

        return findTagsByTagFilter(false, filter, fromTags);
    }
Finds and returns the collection of tags (including the nested tags and
{@code NoTag}) filtered by the given filter.


@param filter
the filter lambda expression containing return true to
include and false to exclude.
@return the collection of tags matching with the given tag name and
value.
@throws NullValueException
if the {@code tagName} or {@code fromTags}
is null
@since 3.0.0
@author WFF