Class IProcessableElementTagExtensions
- java.lang.Object
-
- nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IProcessableElementTagExtensions
-
public class IProcessableElementTagExtensions extends Object
Meta-programming extensions to theIProcessableElementTag
class.- Author:
- zhanhb, Emanuel Rabina
-
-
Constructor Summary
Constructors Constructor Description IProcessableElementTagExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
equals(IProcessableElementTag self, Object other)
Compare processable elements for equality.static boolean
equalsIgnoreXmlnsAndWith(IProcessableElementTag self, IProcessableElementTag other, IContext context)
Compare elements, ignoring XML namespace declarations and Thymeleaf'sth:with
processor.
-
-
-
Method Detail
-
equals
public static boolean equals(IProcessableElementTag self, Object other)
Compare processable elements for equality.- Parameters:
self
-other
-- Returns:
true
if this tag has the same name and attributes as the other element.
-
equalsIgnoreXmlnsAndWith
public static boolean equalsIgnoreXmlnsAndWith(IProcessableElementTag self, IProcessableElementTag other, IContext context)
Compare elements, ignoring XML namespace declarations and Thymeleaf'sth:with
processor.- Parameters:
self
-other
-context
-- Returns:
true
if the elements share the same name and all attributes, with exceptions for of XML namespace declarations and Thymeleaf'sth:with
attribute processor.
-
-