Package dev.jcputney.mjml
package dev.jcputney.mjml
-
ClassDescriptionResolves mj-include paths from the classpath.Optional hook for sanitizing HTML content within
<mj-text>,<mj-button>, and<mj-raw>elements.Text direction for the HTML document.Resolves mj-include paths from the file system relative to a base directory.Interface for resolving mj-include paths to content.Configuration for the MJML renderer.Builder for constructingMjmlConfigurationinstances.Runtime exception thrown when MJML parsing or rendering fails.Exception thrown when mj-include processing fails (missing file, circular includes, etc.).Exception thrown when MJML parsing fails (malformed XML, missing root element, etc.).Public API entry point for rendering MJML templates to HTML.Exception thrown when a failure occurs during the MJML rendering phase (as opposed to parsing or input validation).Result of rendering an MJML template to HTML.Exception thrown when MJML input validation fails (size limit, nesting depth, etc.).Context information passed toIncludeResolverwhen resolving includes.