Class LanguageVisitor
- java.lang.Object
-
- com.aquima.interactions.project.impl.LanguageVisitor
-
- All Implemented Interfaces:
ILanguageVisitor
public class LanguageVisitor extends Object implements ILanguageVisitor
Visitor that is used during initialization to gather the available languages.- Since:
- 5.1
- Author:
- O. Kerpershoek
-
-
Constructor Summary
Constructors Constructor Description LanguageVisitor(IReportingDS reporter, Map<String,ILanguage> languages, IProject project)
Constructs a language visitor with the map where the languages should be added to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(ILanguageDS ds)
This method may be used to add a language definition.
-
-
-
Constructor Detail
-
LanguageVisitor
public LanguageVisitor(IReportingDS reporter, Map<String,ILanguage> languages, IProject project)
Constructs a language visitor with the map where the languages should be added to.- Parameters:
reporter
- the reporter which can be used to report warnings and errors to.languages
- Map that will store the languages gathered by this visitor.project
- The project that should be used to acquire value formats from.
-
-
Method Detail
-
process
public void process(ILanguageDS ds)
Description copied from interface:ILanguageVisitor
This method may be used to add a language definition.- Specified by:
process
in interfaceILanguageVisitor
- Parameters:
ds
- The default formatter that should be used to display primitive values in this language.
-
-