org.thymeleaf.standard.processor.attr
Class StandardRemoveAttrProcessor
Object
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.thymeleaf.processor.attr.AbstractRemovalAttrProcessor
org.thymeleaf.standard.processor.attr.StandardRemoveAttrProcessor
- All Implemented Interfaces:
- Comparable<IAttrProcessor>, IAttrProcessor
public final class StandardRemoveAttrProcessor
- extends AbstractRemovalAttrProcessor
- 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 Integer ATTR_PRECEDENCE
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_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
StandardRemoveAttrProcessor
public StandardRemoveAttrProcessor()
getAttributeApplicabilities
public Set<AttrApplicability> getAttributeApplicabilities()
- Description copied from interface:
IAttrProcessor
Return the attribute applicabilities.
These applicabilities
(a set of AttrApplicability
objects) specify the cases
in which this attribute processor would be executed. This must at least include an
attribute name (execute if attribute name is A) and can also include tag names
(execute if attribute name is A and it is set in a tag with name T), companion
attributes with values (execute if attribute name is A and it is set in a tag with
name T which has an attribute A2 with value V), etc.
Refer to the AttrApplicability
API for more details.
- Returns:
- the attribute applicabilities.
getPrecedence
public Integer getPrecedence()
- Description copied from interface:
IAttrProcessor
Return this processor's precedence.
When a tag includes several attributes that have an attribute
processor associated, the precedences of these processors establish the order in which
they will be executed (lowest precedence value is first). This is important
because each attribute processor will be able to see the results of the previously
executed ones.
- Returns:
- the processor's precedence (lowest will be executed first).
getRemoveAllAttrValue
protected String getRemoveAllAttrValue()
- Specified by:
getRemoveAllAttrValue
in class AbstractRemovalAttrProcessor
getRemoveBodyAttrValue
protected String getRemoveBodyAttrValue()
- Specified by:
getRemoveBodyAttrValue
in class AbstractRemovalAttrProcessor
getRemoveTagAttrValue
protected String getRemoveTagAttrValue()
- Specified by:
getRemoveTagAttrValue
in class AbstractRemovalAttrProcessor
Copyright © 2012 The THYMELEAF team. All Rights Reserved.