Class TemplateDescriptor


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String BOOL_TRUE  
      static java.lang.String DEFAULT  
      static java.lang.String ID  
      static java.lang.String IF  
      static java.lang.String PERSIST  
      static java.lang.String PROCESS  
      static java.lang.String PROPERTY_GROUP  
    • Constructor Summary

      Constructors 
      Constructor Description
      TemplateDescriptor​(java.net.URL descriptorURL, java.lang.String pluginId)
      Constructor which construct the Document based the URL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getPersistTrueIDs()
      return the list of IDs whose Persist attribute is true.
      java.lang.String getPluginId()  
      java.util.List<org.w3c.dom.Element> getPropertyGroupList()
      This method is to get the list of property-group elements from template descriptor root element.
      org.w3c.dom.Element getRootElement()
      added to return root of this document.
      org.w3c.dom.Element getRootPropertyGroup​(org.w3c.dom.Element element)
      This method is to get the complex property-group from template descriptor root element.
      java.util.Map<java.lang.String,​java.lang.String> getTemplateDefaults​(org.w3c.dom.Element element)
      This method is to get the default key value pair (HashMap) form template descriptor root element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTemplateDefaults

        public java.util.Map<java.lang.String,​java.lang.String> getTemplateDefaults​(org.w3c.dom.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 java.util.List<org.w3c.dom.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 org.w3c.dom.Element getRootPropertyGroup​(org.w3c.dom.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 org.w3c.dom.Element getRootElement()
        added to return root of this document.
      • getPersistTrueIDs

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

        public java.lang.String getPluginId()