public class ActionUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ActionUtil.Scope |
Constructor and Description |
---|
ActionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
setProperties(InterpretationContext ic,
Properties props,
ActionUtil.Scope scope)
Add all the properties found in the argument named 'props' to an
InterpretationContext.
|
static void |
setProperty(InterpretationContext ic,
String key,
String value,
ActionUtil.Scope scope) |
static ActionUtil.Scope |
stringToScope(String scopeStr)
Convert a string into a scope.
|
public static ActionUtil.Scope stringToScope(String scopeStr)
scopeStr
- the string to be convertedpublic static void setProperty(InterpretationContext ic, String key, String value, ActionUtil.Scope scope)
public static void setProperties(InterpretationContext ic, Properties props, ActionUtil.Scope scope)
ic
- interpretation contextprops
- the properties to set in the contextscope
- scope of propertiesCopyright © 2005–2014 QOS.ch. All rights reserved.