EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.template.ui
Class TemplateCompilerLoader

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

public class TemplateCompilerLoader
extends Object

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


Method Summary
static TemplateCompilerLoader forClassLoader(ClassLoader classLoader)
          Creates or retrieves a TemplateCompilerLoader givena ClassLoader.
 TemplateCompiler getTemplateCompiler(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(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(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

EchoPoint API - 3.0.0b5
App Webcontainer