Class TemplateDescriptor
java.lang.Object
org.eclipse.cdt.core.templateengine.TemplateDescriptor
This class contains methods to get first process block element, next process block
element and checks for next process block element.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTemplateDescriptor
(URL descriptorURL, String pluginId) Constructor which construct the Document based the URL -
Method Summary
Modifier and TypeMethodDescriptionreturn the list of IDs whose Persist attribute is true.This method is to get the list of property-group elements from template descriptor root element.added to return root of this document.getRootPropertyGroup
(Element element) This method is to get the complex property-group from template descriptor root element.getTemplateDefaults
(Element element) This method is to get the default key value pair (HashMap) form template descriptor root element.
-
Field Details
-
PROPERTY_GROUP
- See Also:
-
PROCESS
- See Also:
-
IF
- See Also:
-
ID
- See Also:
-
DEFAULT
- See Also:
-
PERSIST
- See Also:
-
BOOL_TRUE
- See Also:
-
-
Constructor Details
-
TemplateDescriptor
public TemplateDescriptor(URL descriptorURL, String pluginId) throws TemplateInitializationException Constructor which construct the Document based the URL- Parameters:
descriptorURL
-- Throws:
TemplateInitializationException
-
-
Method Details
-
getTemplateDefaults
This method is to get the default key value pair (HashMap) form template descriptor root element.- Returns:
- default values with keys
-
getPropertyGroupList
This method is to get the list of property-group elements from template descriptor root element.- Returns:
- list of property-group elements
-
getRootPropertyGroup
This method is to get the complex property-group from template descriptor root element. complex means a property-group contains other property-group(s)- Parameters:
element
- root element of type JDOM Element- Returns:
- property-group root element of type JDOM Element
-
getRootElement
added to return root of this document. -
getPersistTrueIDs
return the list of IDs whose Persist attribute is true.- Returns:
- Vector.
-
getPluginId
-