org.ujac.util.template
Class DefaultTemplateInterpreterFactory

java.lang.Object
  extended by org.ujac.util.template.DefaultTemplateInterpreterFactory
All Implemented Interfaces:
TemplateInterpreterFactory

public class DefaultTemplateInterpreterFactory
extends Object
implements TemplateInterpreterFactory

Name: DefaultTemplateInterpreterFactory
Description: The default TemplateInterpreterFactory implementation.

Author:
lauerc

Field Summary
 
Fields inherited from interface org.ujac.util.template.TemplateInterpreterFactory
ATTRIBUTE_NAME
 
Constructor Summary
DefaultTemplateInterpreterFactory()
           
 
Method Summary
 TemplateContext createTemplateContext(Map properties, FormatHelper formatHelper)
          Creates a TemplateContext instance.
 TemplateInterpreter createTemplateInterpreter()
          Creates a TemplateInterpreter instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTemplateInterpreterFactory

public DefaultTemplateInterpreterFactory()
Method Detail

createTemplateInterpreter

public TemplateInterpreter createTemplateInterpreter()
Creates a TemplateInterpreter instance.

Specified by:
createTemplateInterpreter in interface TemplateInterpreterFactory
Returns:
The created TemplateInterpreter instance.

createTemplateContext

public TemplateContext createTemplateContext(Map properties,
                                             FormatHelper formatHelper)
Creates a TemplateContext instance.

Specified by:
createTemplateContext in interface TemplateInterpreterFactory
Parameters:
properties - The properties to use.
formatHelper - The format helper to use.
Returns:
The created TemplateContext instance.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.