|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.parameters.core.UtilParametrized
public final class UtilParametrized
Helper class for setting parametrized objects.
| Method Summary | |
|---|---|
static void |
setProperties(IContext context,
IParameterHolder holder,
nu.xom.Element element)
Sets the properties of a given object based on attributes of a element. |
static void |
setProperties(IContext context,
IParameterHolder holder,
nu.xom.Element element,
boolean onCreate)
Sets the properties of a given object based on attributes of a element. |
static void |
setProperties(IContext context,
IParameterHolder holder,
Map<String,Object> parameters)
Sets the properties of a given object based on attributes of a element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setProperties(IContext context,
IParameterHolder holder,
nu.xom.Element element)
throws PluginException
context - The context.holder - The parameterized object whose attributes will be set based on
element attributes.element - The reference element.
PluginException - On setting errors.
public static void setProperties(IContext context,
IParameterHolder holder,
nu.xom.Element element,
boolean onCreate)
throws PluginException
context - The context.holder - The parameterized object whose attributes will be set based on
element attributes.element - The reference element.onCreate - true, if in creation time, false, otherwise.
PluginException - On setting errors.
public static void setProperties(IContext context,
IParameterHolder holder,
Map<String,Object> parameters)
throws PluginException
context - The context.holder - The parameterized object whose attributes will be set based on
element attributes.parameters - Map of parameters.
PluginException - On setting errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||