1 package org.apache.turbine.services.template; 2 3 18 19 import java.util.Hashtable ; 20 21 29 public interface TemplateEngineService 30 { 31 static final String TEMPLATE_EXTENSIONS = "template.extension"; 32 static final String DEFAULT_TEMPLATE_EXTENSION = "template.default.extension"; 33 static final String DEFAULT_PAGE = "default.page"; 34 static final String DEFAULT_SCREEN = "default.screen"; 35 static final String DEFAULT_LAYOUT = "default.layout"; 36 static final String DEFAULT_NAVIGATION = "default.navigation"; 37 static final String DEFAULT_ERROR_SCREEN = "default.error.screen"; 38 static final String DEFAULT_LAYOUT_TEMPLATE = "default.layout.template"; 39 static final String DEFAULT_SCREEN_TEMPLATE = "default.screen.template"; 40 static final String DEFAULT_NAVIGATION_TEMPLATE = "default.navigation.template"; 41 42 46 Hashtable getTemplateEngineServiceConfiguration(); 47 48 55 void registerConfiguration(String defaultExt); 56 57 62 String [] getAssociatedFileExtensions(); 63 64 76 boolean templateExists(String template); 77 } 78 | Popular Tags |