All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.java.com.dragome.render.html.HTMLGuiaServiceFactory Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy