org.thymeleaf.standard.processor.attr
Class StandardSubstituteByFragmentAttrProcessor
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.StandardSubstituteByFragmentAttrProcessor
- All Implemented Interfaces:
- Comparable<IProcessor>, IProcessor
public class StandardSubstituteByFragmentAttrProcessor
- extends AbstractStandardFragmentHandlingAttrProcessor
Similar to th:include, but instead of adding the specified template
fragment as a child of this element, it will replace this element with the
template fragment.
- 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
StandardSubstituteByFragmentAttrProcessor
public StandardSubstituteByFragmentAttrProcessor()
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 © 2014 The THYMELEAF team. All Rights Reserved.