echopointng.ui.template
Class TemplateCompilerLoader

java.lang.Object
  extended by echopointng.ui.template.TemplateCompilerLoader

public class TemplateCompilerLoader
extends java.lang.Object

TemplateCompilerLoader is repsonsible for finding a template compiler instance for a given content type


Method Summary
static TemplateCompilerLoader forClassLoader(java.lang.ClassLoader classLoader)
          Creates or retrieves a TemplateCompilerLoader givena ClassLoader.
 TemplateCompiler getTemplateCompiler(java.lang.String contentType)
          Returns the TemplateCompiler that can compile the given content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forClassLoader

public static TemplateCompilerLoader forClassLoader(java.lang.ClassLoader classLoader)
Creates or retrieves a TemplateCompilerLoader givena ClassLoader.

Parameters:
classLoader - the ClassLoader to use for dynamically loading classes
Returns:
the TemplateCompilerLoader

getTemplateCompiler

public TemplateCompiler getTemplateCompiler(java.lang.String contentType)
Returns the TemplateCompiler that can compile the given content type.

Parameters:
contentType - - the content type of the template data
Returns:
the XML parsing peer