public class MapTemplateLocator extends Object implements TemplateLocator
Map.DEFAULT_SYSTEM_TEMPLATE_LOCATOR_PRIORITYBUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
MapTemplateLocator(int priority,
Map<String,String> templates) |
MapTemplateLocator(Map<String,String> templates) |
public int getPriority()
getPriority in interface WithPrioritypublic Reader locate(String templateName)
locate in interface TemplateLocatortemplateName - The template namenull if no available template with the given name
existspublic Set<String> getAllAvailableNames()
getAllAvailableNames in interface TemplateLocatorConfiguration#isPrecompileAllTemplates()Copyright © 2013. All Rights Reserved.