org.thymeleaf.standard.processor.attr
Class StandardIncludeFragmentAttrProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractFragmentHandlingAttrProcessor
org.thymeleaf.standard.processor.attr.AbstractStandardFragmentHandlingAttrProcessor
org.thymeleaf.standard.processor.attr.StandardIncludeFragmentAttrProcessor
- All Implemented Interfaces:
- Comparable<IProcessor>, IProcessor
public class StandardIncludeFragmentAttrProcessor
- extends AbstractStandardFragmentHandlingAttrProcessor
Specifies another template and the fragment within that other template to
include at this point, eg:
<div th:include="templateName :: fragmentName"><div>
The above will find the template named templateName, and add the fragment
named fragmentName as a child of this element.
- Since:
- 2.0.9
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTR_PRECEDENCE
public static final int ATTR_PRECEDENCE
- See Also:
- Constant Field Values
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
FRAGMENT_ATTR_NAME
public static final String FRAGMENT_ATTR_NAME
- See Also:
- Constant Field Values
StandardIncludeFragmentAttrProcessor
public StandardIncludeFragmentAttrProcessor()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence
in class AbstractProcessor
getFragmentSignatureUnprefixedAttributeName
protected String getFragmentSignatureUnprefixedAttributeName(Arguments arguments,
Element element,
String attributeName,
String attributeValue)
- Specified by:
getFragmentSignatureUnprefixedAttributeName
in class AbstractStandardFragmentHandlingAttrProcessor
getRemoveHostNode
protected boolean getRemoveHostNode(Arguments arguments,
Element element,
String attributeName,
String attributeValue)
- Specified by:
getRemoveHostNode
in class AbstractFragmentHandlingAttrProcessor
Copyright © 2013 The THYMELEAF team. All Rights Reserved.