lumis.portal.el
Class PortalFunctionMapper

Package class diagram package PortalFunctionMapper
java.lang.Object
  extended by lumis.portal.el.PortalFunctionMapper
All Implemented Interfaces:
FunctionMapper, IExtendedFunctionMapper

public class PortalFunctionMapper
extends Object
implements IExtendedFunctionMapper

Portal general EL function mapper.

Resolves EL functions to be available in any portal context.

Since:
5.6.0

Constructor Summary
PortalFunctionMapper()
           
 
Method Summary
static String localize(String[] args)
          Resolves the string.
 Method resolveFunction(String prefix, String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalFunctionMapper

public PortalFunctionMapper()
Method Detail

localize

public static String localize(String[] args)
                       throws PortalException
Resolves the string.

Parameters:
args - the localize function parameters. First argument is the identifier of the string to be localized. The second argument is optional, and is the resource path to be included in the localization.
Returns:
localized string.
Throws:
PortalException - if an error occur localizing the string.
Since:
5.6.0

resolveFunction

public Method resolveFunction(String prefix,
                              String methodName)
Specified by:
resolveFunction in interface FunctionMapper


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.