Interface ContextMapper


public interface ContextMapper
IContext mapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.thymeleaf.context.IContext
    map(SendUrlDTO sendUrl)
    Maps SendUrlDTO to IContext.
    org.thymeleaf.context.IContext
    map(String str)
    Maps String to IContext.
    default void
    setVariables(org.thymeleaf.context.AbstractContext context, SendUrlDTO sendUrl)
    Sets variables in the AbstractContext after mapping.
  • Method Details

    • map

      org.thymeleaf.context.IContext map(SendUrlDTO sendUrl)
      Maps SendUrlDTO to IContext.
      Parameters:
      sendUrl - the SendUrlDTO
      Returns:
      the IContext
    • map

      org.thymeleaf.context.IContext map(String str)
      Maps String to IContext.
      Parameters:
      str - the String
      Returns:
      the IContext
    • setVariables

      default void setVariables(org.thymeleaf.context.AbstractContext context, SendUrlDTO sendUrl)
      Sets variables in the AbstractContext after mapping.
      Parameters:
      context - the AbstractContext
      sendUrl - the SendUrlDTO