public final class Lookup extends AbstractTagRunner
list
Constructor and Description |
---|
Lookup()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
lookup(COM.FutureTense.Interfaces.ICS ics,
String key,
String locale,
boolean encode)
Deprecated.
Utility function for returning a simpel lookup string, with an option for
encoding.
|
protected void |
postExecute(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
Template method that is called after ics.runTag and before handleError
|
protected void |
preExecute(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
Template method that is called before ics.runTag
|
void |
setArgument(String argname,
String argvalue)
Deprecated.
Sets the name and value of a custome argument to
argname=argvalue |
void |
setEncode(String s)
Deprecated.
Sets encode to the value of
s |
void |
setEscape(String s)
Deprecated.
Sets escape to the value of
s |
void |
setEvalAll(String s)
Deprecated.
Sets evalall to the value of
s |
void |
setKey(String s)
Deprecated.
Sets key to the value of
s |
void |
setLocale(String s)
Deprecated.
Sets locale to the value of
s |
void |
setVarname(String s)
Deprecated.
Sets varname to the value of
s |
bind, execute, handleError
public void setKey(String s)
s
s
- The key of the db entry to returnpublic void setVarname(String s)
s
s
- The varname to output to.public void setLocale(String s)
s
s
- The locale of the db entrypublic void setEncode(String s)
s
s
- true or false (case sensitive)public void setEscape(String s)
s
s
- true or false (case sensitive)public void setEvalAll(String s)
s
s
- true or false (case sensitive)public void setArgument(String argname, String argvalue)
argname=argvalue
argname
- The name of the argumentargvalue
- The name of the valueprotected void preExecute(COM.FutureTense.Interfaces.ICS ics)
AbstractTagRunner
subclasses can override
preExecute
in class AbstractTagRunner
ics
- Content Server context objectprotected void postExecute(COM.FutureTense.Interfaces.ICS ics)
AbstractTagRunner
subclasses can override
postExecute
in class AbstractTagRunner
ics
- Content Server context objectpublic static String lookup(COM.FutureTense.Interfaces.ICS ics, String key, String locale, boolean encode)
ics
- ICS contextkey
- i18n keylocale
- locale into which to look up the translationencode
- to encode or notCopyright © 2016–2017. All rights reserved.