com.sapportals.wcm.rendering.base

Class TextKeyInterpreter

java.lang.Object
  extended by com.sapportals.wcm.rendering.base.TextKeyInterpreter

Deprecated. since NW 7.1 this is a very simple interpreter that allows to write JDK 1.5 compliant code and still use the functionality of the FlexUI framework. Use this class if you need to retrieve texts from an IUIBasecommand This class will map the given new TextKey constant to its corresponding old TextKey class and call the fitting method at the given IUIBaseCommand

public final class TextKeyInterpreter
extends Object

Since:
NW 7.1

Constructor Summary
TextKeyInterpreter()
          Deprecated.  
 
Method Summary
static String getText(IUIBaseCommand command, TextKey key)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextKeyInterpreter

public TextKeyInterpreter()
Deprecated. 
Method Detail

getText

public static final String getText(IUIBaseCommand command,
                                   TextKey key)
Deprecated. 
Parameters:
command - the command to retrieve the text from. Must not be null
key - the TextKey to specify which text to retrieve. Must not be null
Returns:
the text defined at the given command for the given TextKey.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice