bachelor-thesis/chapters/thesis/appendix06_LoggerFactory.java
2024-09-12 23:02:22 +02:00

15 lines
536 B
Java

public class VdlLoggerFactory extends ViewDeclarationLanguageFactory {
private final ViewDeclarationLanguageFactory wrapped_;
public VdlLoggerFactory(ViewDeclarationLanguageFactory viewDeclarationLanguage) {
wrapped_ = viewDeclarationLanguage;
}
@Override
public ViewDeclarationLanguage getViewDeclarationLanguage(String viewId) {
return new VdlLogger(wrapped_.getViewDeclarationLanguage(viewId));
}
@Override
public ViewDeclarationLanguageFactory getWrapped() { return wrapped_; }
}