Class BroadleafThymeleaf3NonVoidElement

java.lang.Object
org.broadleafcommerce.presentation.thymeleaf3.model.BroadleafThymeleaf3NonVoidElement
All Implemented Interfaces:
org.broadleafcommerce.presentation.model.BroadleafTemplateElement, org.broadleafcommerce.presentation.model.BroadleafTemplateNonVoidElement, BroadleafThymeleaf3TemplateEvent

public class BroadleafThymeleaf3NonVoidElement extends Object implements org.broadleafcommerce.presentation.model.BroadleafTemplateNonVoidElement, BroadleafThymeleaf3TemplateEvent
Class used to encapsulate the Thymeleaf 3 version of a non void element which consists of an open tag, close tag, and children elements who can either be other non void elements, standalone elements, or text elements. Note that this is only for use inside of the Broadleaf common layer for Thymeleaf module
Author:
Jay Aisenbrey (cja769)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ArrayList<org.broadleafcommerce.presentation.model.BroadleafTemplateElement>
     
    protected org.thymeleaf.model.ICloseElementTag
     
    protected org.thymeleaf.model.IOpenElementTag
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BroadleafThymeleaf3NonVoidElement(org.thymeleaf.model.IOpenElementTag openTag, org.thymeleaf.model.ICloseElementTag closeTag)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChild(org.broadleafcommerce.presentation.model.BroadleafTemplateElement child)
     
    ArrayList<org.thymeleaf.model.ITemplateEvent>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • openTag

      protected org.thymeleaf.model.IOpenElementTag openTag
    • closeTag

      protected org.thymeleaf.model.ICloseElementTag closeTag
    • children

      protected ArrayList<org.broadleafcommerce.presentation.model.BroadleafTemplateElement> children
  • Constructor Details

    • BroadleafThymeleaf3NonVoidElement

      public BroadleafThymeleaf3NonVoidElement(org.thymeleaf.model.IOpenElementTag openTag, org.thymeleaf.model.ICloseElementTag closeTag)
  • Method Details

    • addChild

      public void addChild(org.broadleafcommerce.presentation.model.BroadleafTemplateElement child)
      Specified by:
      addChild in interface org.broadleafcommerce.presentation.model.BroadleafTemplateNonVoidElement
    • getAllTags

      public ArrayList<org.thymeleaf.model.ITemplateEvent> getAllTags()
      Specified by:
      getAllTags in interface BroadleafThymeleaf3TemplateEvent