public class TemplateDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BOOL_TRUE |
static String |
DEFAULT |
static String |
ID |
static String |
IF |
static String |
PERSIST |
static String |
PROCESS |
static String |
PROPERTY_GROUP |
Constructor and Description |
---|
TemplateDescriptor(URL descriptorURL,
String pluginId)
Constructor which construct the Document based the URL
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getPersistTrueIDs()
return the list of IDs whose Persist attribute is true.
|
String |
getPluginId() |
List<Element> |
getPropertyGroupList()
This method is to get the list of property-group elements from template
descriptor root element.
|
Element |
getRootElement()
added to return root of this document.
|
Element |
getRootPropertyGroup(Element element)
This method is to get the complex property-group from template descriptor
root element.
|
Map<String,String> |
getTemplateDefaults(Element element)
This method is to get the default key value pair (HashMap) form template
descriptor root element.
|
public static final String PROPERTY_GROUP
public static final String PROCESS
public static final String IF
public static final String ID
public static final String DEFAULT
public static final String PERSIST
public static final String BOOL_TRUE
public TemplateDescriptor(URL descriptorURL, String pluginId) throws TemplateInitializationException
descriptorURL
- TemplateInitializationException
public Map<String,String> getTemplateDefaults(Element element)
public List<Element> getPropertyGroupList()
public Element getRootPropertyGroup(Element element)
element
- root element of type JDOM Elementpublic Element getRootElement()
public List<String> getPersistTrueIDs()
public String getPluginId()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.