org.apache.isis.core.progmodel.facetdecorators.i18n.resourcebundle.internal
Class I18nManagerUsingResourceBundle

java.lang.Object
  extended by org.apache.isis.core.progmodel.facetdecorators.i18n.resourcebundle.internal.I18nManagerUsingResourceBundle
All Implemented Interfaces:
org.apache.isis.core.commons.components.ApplicationScopedComponent, org.apache.isis.core.commons.components.Component, I18nManager

public class I18nManagerUsingResourceBundle
extends Object
implements I18nManager

REVIEW: why isn't there a type for collections also?


Constructor Summary
I18nManagerUsingResourceBundle(org.apache.isis.core.commons.config.IsisConfiguration configuration)
           
 
Method Summary
 String getDescription(org.apache.isis.applib.Identifier identifier)
          Get the localized description for the specified identified action/property.
 String getHelp(org.apache.isis.applib.Identifier identifier)
          Get the localized help text for the specified identified action/property.
 String getName(org.apache.isis.applib.Identifier identifier)
          Get the localized name for the specified identified action/property.
 List<String> getParameterNames(org.apache.isis.applib.Identifier identifier)
          Get the localized parameter names for the specified identified action/property.
 void init()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nManagerUsingResourceBundle

public I18nManagerUsingResourceBundle(org.apache.isis.core.commons.config.IsisConfiguration configuration)
Method Detail

init

public void init()
Specified by:
init in interface org.apache.isis.core.commons.components.ApplicationScopedComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface org.apache.isis.core.commons.components.ApplicationScopedComponent

getName

public String getName(org.apache.isis.applib.Identifier identifier)
Description copied from interface: I18nManager
Get the localized name for the specified identified action/property.

Returns null if no name available.

Specified by:
getName in interface I18nManager

getDescription

public String getDescription(org.apache.isis.applib.Identifier identifier)
Description copied from interface: I18nManager
Get the localized description for the specified identified action/property.

Returns null if no description available.

Specified by:
getDescription in interface I18nManager

getHelp

public String getHelp(org.apache.isis.applib.Identifier identifier)
Description copied from interface: I18nManager
Get the localized help text for the specified identified action/property.

Returns null if no help text available.

Specified by:
getHelp in interface I18nManager

getParameterNames

public List<String> getParameterNames(org.apache.isis.applib.Identifier identifier)
Description copied from interface: I18nManager
Get the localized parameter names for the specified identified action/property.

Returns null if no parameters are available. Otherwise returns an array of String objects the size of the number of parameters, where each element is the localised name for the corresponding parameter, or is null if no parameter name is available.

Specified by:
getParameterNames in interface I18nManager


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.