Class TemplateDescriptor

java.lang.Object
org.eclipse.cdt.core.templateengine.TemplateDescriptor

public class TemplateDescriptor extends Object
This class contains methods to get first process block element, next process block element and checks for next process block element.
  • Field Details

  • Constructor Details

  • Method Details

    • getTemplateDefaults

      public Map<String,String> getTemplateDefaults(Element element)
      This method is to get the default key value pair (HashMap) form template descriptor root element.
      Returns:
      default values with keys
    • getPropertyGroupList

      public List<Element> getPropertyGroupList()
      This method is to get the list of property-group elements from template descriptor root element.
      Returns:
      list of property-group elements
    • getRootPropertyGroup

      public Element getRootPropertyGroup(Element element)
      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

      public Element getRootElement()
      added to return root of this document.
    • getPersistTrueIDs

      public List<String> getPersistTrueIDs()
      return the list of IDs whose Persist attribute is true.
      Returns:
      Vector.
    • getPluginId

      public String getPluginId()