Class SlingIncludeAttributeTagProcessor

java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.element.AbstractElementTagProcessor
org.thymeleaf.processor.element.AbstractAttributeTagProcessor
org.apache.sling.scripting.thymeleaf.internal.processor.SlingIncludeAttributeTagProcessor
All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor, org.thymeleaf.processor.element.IElementTagProcessor, org.thymeleaf.processor.IProcessor

public class SlingIncludeAttributeTagProcessor extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
  • Field Details

  • Constructor Details

    • SlingIncludeAttributeTagProcessor

      public SlingIncludeAttributeTagProcessor(String dialectPrefix)
  • Method Details

    • doProcess

      protected void doProcess(org.thymeleaf.context.ITemplateContext templateContext, org.thymeleaf.model.IProcessableElementTag processableElementTag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler elementTagStructureHandler)
      Specified by:
      doProcess in class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
    • parseAttribute

      protected Object parseAttribute(org.thymeleaf.standard.expression.IStandardExpressionParser expressionParser, org.thymeleaf.context.ITemplateContext templateContext, org.thymeleaf.model.IProcessableElementTag processableElementTag, org.thymeleaf.processor.element.IElementTagStructureHandler elementTagStructureHandler, String name)
    • prepareRequestDispatcherOptions

      protected RequestDispatcherOptions prepareRequestDispatcherOptions(org.thymeleaf.standard.expression.IStandardExpressionParser expressionParser, org.thymeleaf.context.ITemplateContext templateContext, org.thymeleaf.model.IProcessableElementTag processableElementTag, org.thymeleaf.processor.element.IElementTagStructureHandler elementTagStructureHandler)
    • dispatch

      protected String dispatch(Resource resource, String path, SlingHttpServletRequest slingHttpServletRequest, SlingHttpServletResponse slingHttpServletResponse, RequestDispatcherOptions requestDispatcherOptions)
      Parameters:
      resource - the resource to include
      path - the path to include
      slingHttpServletRequest - the current request
      slingHttpServletResponse - the current response
      requestDispatcherOptions - the options for the request dispatcher
      Returns:
      the character response from the include call to request dispatcher
      See Also:
      • "org.apache.sling.scripting.jsp.taglib.IncludeTagHandler"