Package cz.vutbr.fit.layout.rdf
Class RDFTaggerConfig
- java.lang.Object
-
- cz.vutbr.fit.layout.rdf.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
-
-
Constructor Summary
Constructors Constructor Description RDFTaggerConfig(RDFArtifactRepository repo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tagger
getTaggerForTag(Tag tag)
Finds a tagger for the given tag.Map<Tag,Tagger>
getTaggers()
Returns the complete mapping of tags to their source taggers.
-
-
-
Constructor Detail
-
RDFTaggerConfig
public RDFTaggerConfig(RDFArtifactRepository repo)
-
-
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 interfaceTaggerConfig
- 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 interfaceTaggerConfig
- Parameters:
tag
- the given tag- Returns:
- The assigned tagger or
null
when no tagger is assigned.
-
-