Class RDFTaggerConfig

  • All Implemented Interfaces:
    TaggerConfig

    public class RDFTaggerConfig
    extends Object
    implements TaggerConfig
    A tagger config implementation that uses a ServiceManager and the configured RDF repository as the source of the tagger configuration.
    Author:
    burgetr
    • Method Detail

      • getTaggers

        public Map<Tag,​Tagger> getTaggers()
        Description copied from interface: TaggerConfig
        Returns the complete mapping of tags to their source taggers.
        Specified by:
        getTaggers in interface TaggerConfig
        Returns:
        A map assigning a tagger to each tag
      • getTaggerForTag

        public Tagger getTaggerForTag​(Tag tag)
        Description copied from interface: TaggerConfig
        Finds a tagger for the given tag.
        Specified by:
        getTaggerForTag in interface TaggerConfig
        Parameters:
        tag - the given tag
        Returns:
        The assigned tagger or null when no tagger is assigned.