|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.gst.foundation.facade.FTValListFacade
com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner
com.fatwire.gst.foundation.facade.runtag.xlat.Lookup
public final class Lookup
Wrapper around the XLAT.LOOKUP xml tag
Field Summary |
---|
Fields inherited from class com.fatwire.gst.foundation.facade.FTValListFacade |
---|
list |
Constructor Summary | |
---|---|
Lookup()
|
Method Summary | |
---|---|
static String |
lookup(COM.FutureTense.Interfaces.ICS ics,
String key,
String locale,
boolean encode)
Utility function for returning a simpel lookup string, with an option for encoding. |
protected void |
postExecute(COM.FutureTense.Interfaces.ICS ics)
Template method that is called after ics.runTag and before handleError subclasses can override |
protected void |
preExecute(COM.FutureTense.Interfaces.ICS ics)
Template method that is called before ics.runTag subclasses can override |
void |
setArgument(String argname,
String argvalue)
Sets the name and value of a custome argument to argname=argvalue |
void |
setEncode(String s)
Sets encode to the value of s |
void |
setEscape(String s)
Sets escape to the value of s |
void |
setEvalAll(String s)
Sets evalall to the value of s |
void |
setKey(String s)
Sets key to the value of s |
void |
setLocale(String s)
Sets locale to the value of s |
void |
setVarname(String s)
Sets varname to the value of s |
Methods inherited from class com.fatwire.gst.foundation.facade.runtag.AbstractTagRunner |
---|
bind, execute, handleError |
Methods inherited from class com.fatwire.gst.foundation.facade.FTValListFacade |
---|
getList, set, set, set, set, set, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lookup()
Method Detail |
---|
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
preExecute
in class AbstractTagRunner
protected void postExecute(COM.FutureTense.Interfaces.ICS ics)
AbstractTagRunner
postExecute
in class AbstractTagRunner
public 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 not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |