Class IAttributeExtensions
- java.lang.Object
-
- nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IAttributeExtensions
-
public class IAttributeExtensions extends Object
Meta-programming extensions to theIAttribute
class.- Author:
- zhanhb, Emanuel Rabina
-
-
Constructor Summary
Constructors Constructor Description IAttributeExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equalsName(IAttribute self, String prefix, String name)
Returns whether or not an attribute is an attribute processor of the given name, checks both prefix:processor and data-prefix-processor variants.
-
-
-
Method Detail
-
equalsName
public static boolean equalsName(IAttribute self, String prefix, String name)
Returns whether or not an attribute is an attribute processor of the given name, checks both prefix:processor and data-prefix-processor variants.- Parameters:
self
-prefix
-name
-- Returns:
true
if this attribute is an attribute processor of the matching name.
-
-