main.java.com.dragome.render.html.HTMLGuiaServiceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dragome-guia-web Show documentation
Show all versions of dragome-guia-web Show documentation
Dragome SDK module: Guia Web
package com.dragome.render.html;
import com.dragome.guia.GuiaServiceFactory;
import com.dragome.guia.events.listeners.interfaces.StyleChangedListener;
import com.dragome.render.html.renderers.HTMLStyleChangedListener;
import com.dragome.render.interfaces.TemplateHandler;
import com.dragome.templates.HTMLTemplateManager;
import com.dragome.templates.interfaces.TemplateListener;
import com.dragome.templates.interfaces.TemplateLoadingStrategy;
import com.dragome.templates.interfaces.TemplateManager;
public class HTMLGuiaServiceFactory implements GuiaServiceFactory
{
public TemplateManager createTemplateManager()
{
return new HTMLTemplateManager();
}
public TemplateHandler createTemplateHandler()
{
return new HTMLTemplateHandler();
}
public TemplateLoadingStrategy createTemplateHandlingStrategy()
{
return new HTMLTemplateLoadingStrategy();
}
public TemplateListener getTemplateListener()
{
return new HTMLTemplateChangedListener();
}
public StyleChangedListener getStyleChangeListener()
{
return new HTMLStyleChangedListener();
}
}