org.thymeleaf.standard.processor.attr
Class StandardRemoveAttrProcessor
Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractMarkupRemovalAttrProcessor
org.thymeleaf.standard.processor.attr.StandardRemoveAttrProcessor
- All Implemented Interfaces:
- Comparable<IProcessor>, IProcessor
public final class StandardRemoveAttrProcessor
- extends AbstractMarkupRemovalAttrProcessor
Removes a piece of this template from the final result.
If this attribute's value is all, both the containing tag and it's
children will be removed. If the value is body, only the tag's
children will be removed. If the value is tag, the containing tag
will be removed, but not it's children. If the value is all-but-first,
then all but the first child of the containing tag will be removed.
- Since:
- 1.0
- 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
VALUE_ALL
public static final String VALUE_ALL
- See Also:
- Constant Field Values
VALUE_ALL_BUT_FIRST
public static final String VALUE_ALL_BUT_FIRST
- See Also:
- Constant Field Values
VALUE_TAG
public static final String VALUE_TAG
- See Also:
- Constant Field Values
VALUE_BODY
public static final String VALUE_BODY
- See Also:
- Constant Field Values
VALUE_NONE
public static final String VALUE_NONE
- Since:
- 2.1.0
- See Also:
- Constant Field Values
StandardRemoveAttrProcessor
public StandardRemoveAttrProcessor()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence
in class AbstractProcessor
getRemovalType
protected AbstractMarkupRemovalAttrProcessor.RemovalType getRemovalType(Arguments arguments,
Element element,
String attributeName)
- Specified by:
getRemovalType
in class AbstractMarkupRemovalAttrProcessor
Copyright © 2014 The THYMELEAF team. All Rights Reserved.