nl.vpro.domain.classification.EmptyClassificationService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-classification Show documentation
Show all versions of media-classification Show documentation
The classes needed for the 'classification' service used in POMS.
This os based on ClassificationScheme xml's as provided by EBU.
It at the moment is only used for genres, but it could in principle accommodate other types of classification based on
a fixed list.
package nl.vpro.domain.classification;
import java.util.Collections;
import java.util.List;
import org.xml.sax.InputSource;
/**
* @author Michiel Meeuwissen
* @since 4.2
*/
public class EmptyClassificationService extends AbstractClassificationServiceImpl {
public static final ClassificationService INSTANCE = new EmptyClassificationService();
@Override
protected List getSources(boolean init) {
return Collections.emptyList();
}
}