Class MjHead


public class MjHead extends HeadComponent
The mj-head container component. Processing is handled by the pipeline which iterates over its children directly.
  • Constructor Details

  • Method Details

    • getTagName

      public String getTagName()
      Description copied from class: BaseComponent
      Returns the MJML tag name this component handles.
      Specified by:
      getTagName in class BaseComponent
      Returns:
      the MJML tag name
    • process

      public void process()
      Description copied from class: HeadComponent
      Processes this head component, updating the global context with extracted metadata (fonts, styles, attributes, etc.).
      Specified by:
      process in class HeadComponent