Uses of Class
dev.jcputney.mjml.MjmlConfiguration.Builder
Packages that use MjmlConfiguration.Builder
-
Uses of MjmlConfiguration.Builder in dev.jcputney.mjml
Methods in dev.jcputney.mjml that return MjmlConfiguration.BuilderModifier and TypeMethodDescriptionstatic MjmlConfiguration.BuilderMjmlConfiguration.builder()Creates a newMjmlConfiguration.Builderfor constructing anMjmlConfiguration.MjmlConfiguration.Builder.contentSanitizer(ContentSanitizer contentSanitizer) Sets an optional content sanitizer that is applied to the inner HTML of<mj-text>,<mj-button>, and<mj-raw>elements.Sets the text direction using aDirectionenum value.Sets the text direction from a string ("ltr", "rtl", or "auto", case-insensitive).MjmlConfiguration.Builder.includeResolver(IncludeResolver resolver) Sets the include resolver used to resolvemj-includepaths.Sets the language code for the HTML document (e.g.,"en").MjmlConfiguration.Builder.maxIncludeDepth(int maxIncludeDepth) Sets the maximum allowed include nesting depth formj-include.MjmlConfiguration.Builder.maxInputSize(int maxInputSize) Sets the maximum allowed input size in characters (not bytes).MjmlConfiguration.Builder.maxNestingDepth(int maxNestingDepth) Sets the maximum allowed nesting depth for MJML elements.MjmlConfiguration.Builder.registerComponent(String tagName, ComponentFactory factory) Registers a custom component factory for the given MJML tag name.MjmlConfiguration.Builder.registerContainerComponent(String tagName, ContainerComponentFactory factory) Registers a custom container component factory for the given tag name.MjmlConfiguration.Builder.sanitizeOutput(boolean sanitize) Controls whether HTML special characters in attribute values are escaped in rendered output.MjmlConfiguration.toBuilder()Returns a builder pre-populated with this configuration's values.