public class ServiceContainerRequestFunctionMapper extends PageWebResourceFunctionMapper
FunctionMapper
that resolves the functions available for requests
.BEFORE_WRITE_FUNCTION_NAME
Constructor and Description |
---|
ServiceContainerRequestFunctionMapper(PageWebResource pageWebResource,
IServiceInterfaceRequestSPI request) |
Modifier and Type | Method and Description |
---|---|
void |
afterEvaluation()
Performs any needed operations after the evaluation happens.
|
void |
beforeEvaluation()
Performs any initialization needed before the evaluation is performed.
|
static String |
localize(String[] args)
Resolves the string.
|
static void |
nop(String fragment,
String key)
Dummy method that does nothing.
|
Method |
resolveFunction(String prefix,
String localName) |
resolveURL, writeIfNotYetWritten
concat, encodeURL, escapeJs, escapeXml, localize, localize, processLocalizationParameters
public ServiceContainerRequestFunctionMapper(PageWebResource pageWebResource, IServiceInterfaceRequestSPI request)
public Method resolveFunction(String prefix, String localName)
resolveFunction
in interface FunctionMapper
resolveFunction
in class PageWebResourceFunctionMapper
public static void nop(String fragment, String key)
public void beforeEvaluation()
PortalFunctionMapper
beforeEvaluation
in class PageWebResourceFunctionMapper
public void afterEvaluation()
PortalFunctionMapper
finally
.afterEvaluation
in class PageWebResourceFunctionMapper
public static String localize(String[] args) throws PortalException
args
- the localize function parameters.PortalException
- if an error occur localizing the string.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.