public class ComponentUtil extends Object
IComponent
objectsConstructor and Description |
---|
ComponentUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
constructComponentKey(Element configElem)
Constructs the handler key name based on the information in the given handler
configuration element.
|
static String |
constructComponentKey(IComponent component)
Taking a default component construct a key
|
static String |
constructComponentKey(Map<?,?> properties)
Constructs the handler key name based on the information in the given handler
configuration element.
|
static String |
constructComponentKey(String name,
String type)
Constructs a key from the name and the type.
|
static String |
getComponentClassName(Element configElem)
Returns component class name as specified in the configuration XML Element
|
public static String constructComponentKey(String name, String type)
name
- the value of the name attributetype
- the value of the type attribute, or null if not availableIComponent
in the tablepublic static String constructComponentKey(Element configElem)
configElem
- the configuration element associated with the handlerconstructComponentKey(java.lang.String, java.lang.String)
public static String getComponentClassName(Element configElem)
configElem
- source Element with component configurationpublic static String constructComponentKey(Map<?,?> properties)
properties
- the configuration associated with the handlerconstructComponentKey(java.lang.String, java.lang.String)
public static String constructComponentKey(IComponent component)
component
-