public final class UtilParametrized extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2016. All rights reserved.