Class ResourceConfigUtils
- java.lang.Object
-
- org.smooks.engine.resource.config.loader.xml.extension.ResourceConfigUtils
-
public final class ResourceConfigUtils extends Object
Resource Configuration Extension utility class.- Author:
- tom.fennelly@gmail.com
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
mapProperty(ResourceConfig fromResourceConfig, String fromProperty, ResourceConfig toResourceConfig, String toProperty, String defaultValue, ExecutionContext executionContext)
static void
setProperty(ResourceConfig resourceConfig, String setOn, Object value, ExecutionContext executionContext)
static void
setProperty(ResourceConfig resourceConfig, String setOn, Object value, Element xml, ExecutionContext executionContext)
static void
unsetProperty(ResourceConfig resourceConfig, String property)
-
-
-
Method Detail
-
setProperty
public static void setProperty(ResourceConfig resourceConfig, String setOn, Object value, Element xml, ExecutionContext executionContext) throws SmooksException
- Throws:
SmooksException
-
setProperty
public static void setProperty(ResourceConfig resourceConfig, String setOn, Object value, ExecutionContext executionContext) throws SmooksException
- Throws:
SmooksException
-
unsetProperty
public static void unsetProperty(ResourceConfig resourceConfig, String property)
-
mapProperty
public static void mapProperty(ResourceConfig fromResourceConfig, String fromProperty, ResourceConfig toResourceConfig, String toProperty, String defaultValue, ExecutionContext executionContext) throws SmooksException
- Throws:
SmooksException
-
-