package se.kb.libris.whelks.plugin;

import se.kb.libris.whelks.Document;

public interface LinkExpander extends Plugin {
    Document expand(Document document);
}

package se.kb.libris.whelks.plugin;

import se.kb.libris.whelks.Document;

public interface LinkExpander extends Plugin {
    boolean valid(Document document);
    Document expand(Document document);
}

Add 'valid' method to LinkExpander interface