public class SlingIncludeAttributeTagProcessor
extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
Modifier and Type | Field and Description |
---|---|
static String |
ADD_SELECTORS_ATTRIBUTE_NAME |
static String |
ATTRIBUTE_NAME |
static int |
ATTRIBUTE_PRECEDENCE |
static String |
REPLACE_SELECTORS_ATTRIBUTE_NAME |
static String |
REPLACE_SUFFIX_ATTRIBUTE_NAME |
static String |
RESOURCE_TYPE_ATTRIBUTE_NAME |
static String |
UNWRAP_ATTRIBUTE_NAME |
Constructor and Description |
---|
SlingIncludeAttributeTagProcessor(String dialectPrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
dispatch(org.apache.sling.api.resource.Resource resource,
String path,
org.apache.sling.api.SlingHttpServletRequest slingHttpServletRequest,
org.apache.sling.api.SlingHttpServletResponse slingHttpServletResponse,
org.apache.sling.api.request.RequestDispatcherOptions requestDispatcherOptions) |
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) |
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) |
protected org.apache.sling.api.request.RequestDispatcherOptions |
prepareRequestDispatcherOptions(org.thymeleaf.standard.expression.IStandardExpressionParser expressionParser,
org.thymeleaf.context.ITemplateContext templateContext,
org.thymeleaf.model.IProcessableElementTag processableElementTag,
org.thymeleaf.processor.element.IElementTagStructureHandler elementTagStructureHandler) |
doProcess
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
getPrecedence, getTemplateMode
public static final int ATTRIBUTE_PRECEDENCE
public static final String ATTRIBUTE_NAME
public static final String ADD_SELECTORS_ATTRIBUTE_NAME
public static final String REPLACE_SELECTORS_ATTRIBUTE_NAME
public static final String REPLACE_SUFFIX_ATTRIBUTE_NAME
public static final String RESOURCE_TYPE_ATTRIBUTE_NAME
public static final String UNWRAP_ATTRIBUTE_NAME
public SlingIncludeAttributeTagProcessor(String dialectPrefix)
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)
doProcess
in class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
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)
protected org.apache.sling.api.request.RequestDispatcherOptions prepareRequestDispatcherOptions(org.thymeleaf.standard.expression.IStandardExpressionParser expressionParser, org.thymeleaf.context.ITemplateContext templateContext, org.thymeleaf.model.IProcessableElementTag processableElementTag, org.thymeleaf.processor.element.IElementTagStructureHandler elementTagStructureHandler)
protected String dispatch(org.apache.sling.api.resource.Resource resource, String path, org.apache.sling.api.SlingHttpServletRequest slingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse slingHttpServletResponse, org.apache.sling.api.request.RequestDispatcherOptions requestDispatcherOptions)
resource
- the resource to includepath
- the path to includeslingHttpServletRequest
- the current requestslingHttpServletResponse
- the current responserequestDispatcherOptions
- the options for the request dispatcherCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.