public class MapTemplateLocator extends AbstractTemplateLocator
Map.BUILTIN_RESOLVERS_DEFAULT_PRIORITY, BUILTIN_TEMPLATE_LOCATORS_DEFAULT_PRIORITY, EXTENSION_RESOLVERS_DEFAULT_PRIORITY| Constructor and Description |
|---|
MapTemplateLocator(int priority,
java.util.Map<java.lang.String,java.lang.String> templates) |
MapTemplateLocator(java.util.Map<java.lang.String,java.lang.String> templates) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getAllIdentifiers() |
java.io.Reader |
locate(java.lang.String templateName)
The reader is always closed by the engine right after the template source is read.
|
java.lang.String |
toString() |
getPrioritygetConfigurationKeys, checkNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConfigurationKeys, initpublic MapTemplateLocator(int priority,
java.util.Map<java.lang.String,java.lang.String> templates)
public MapTemplateLocator(java.util.Map<java.lang.String,java.lang.String> templates)
public java.io.Reader locate(java.lang.String templateName)
TemplateLocatortemplateName - The template identifiernull if no available template with the given name
existspublic java.util.Set<java.lang.String> getAllIdentifiers()
EngineConfigurationKey.PRECOMPILE_ALL_TEMPLATESpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014. All Rights Reserved.