org.objectledge.i18n
Class WebI18nToolFactory

java.lang.Object
  extended by org.objectledge.i18n.WebI18nToolFactory
All Implemented Interfaces:
ContextToolFactory

public class WebI18nToolFactory
extends Object
implements ContextToolFactory

Web bases I18n tool factory.

Author:
Pawel Potempski

Field Summary
protected  Context context
          The context.
protected  I18n i18n
          The i18n component.
 
Constructor Summary
WebI18nToolFactory(Context context, I18n i18n)
          Component constructor.
 
Method Summary
 String getKey()
          
 Object getTool()
          
 void recycleTool(Object tool)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected Context context
The context.


i18n

protected I18n i18n
The i18n component.

Constructor Detail

WebI18nToolFactory

public WebI18nToolFactory(Context context,
                          I18n i18n)
Component constructor.

Parameters:
context - the context.
i18n - the i18n component.
Method Detail

getTool

public Object getTool()

Specified by:
getTool in interface ContextToolFactory

recycleTool

public void recycleTool(Object tool)

Specified by:
recycleTool in interface ContextToolFactory

getKey

public String getKey()

Specified by:
getKey in interface ContextToolFactory


Copyright © 2003-2006 objectledge.org. All Rights Reserved.