|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable org.apache.turbine.modules.GenericLoader org.apache.jetspeed.modules.ParameterLoader
The purpose of this class is to allow one to load and execute Parameter modules.
Method Summary | |
java.lang.String |
eval(org.apache.turbine.util.RunData data,
java.lang.String provider,
java.lang.String name,
java.lang.String value,
java.util.Map parms)
Attempts to load and render a parameter using custom style. |
void |
exec(org.apache.turbine.util.RunData data,
java.lang.String name)
This method is not used. |
static java.util.Map |
extractStyleParameters(java.util.Map parms,
java.lang.String parmName)
Extracts any parameters to parameter style. |
static ParameterLoader |
getInstance()
The method through which this class is accessed. |
ParameterPresentationStyle |
getInstance(java.lang.String provider)
Pulls out an instance of the object by name. |
Methods inherited from class org.apache.turbine.modules.GenericLoader |
cache, getBasePackage, reload, setReload |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String eval(org.apache.turbine.util.RunData data, java.lang.String provider, java.lang.String name, java.lang.String value, java.util.Map parms) throws java.lang.Exception
String symbols = eval(data, "TextArea", "symbols", "MSFT,SUNW,EMC,ORCL", parms);
data
- Turbine information.provider
- Custom parameter class name (without the package)name
- Name for rendered HTML tagvalue
- Current valueparms
- Optional rendition parameters
java.lang.Exception
- a generic exception.public void exec(org.apache.turbine.util.RunData data, java.lang.String name) throws java.lang.Exception
data
- Turbine information.name
- Name of object that will execute the screen.
java.lang.Exception
- a generic exception.public ParameterPresentationStyle getInstance(java.lang.String provider) throws java.lang.Exception
provider
- Name of object instance.
java.lang.Exception
- a generic exception.public static ParameterLoader getInstance()
public static java.util.Map extractStyleParameters(java.util.Map parms, java.lang.String parmName)
parms
- portlet parameters
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |