Class IProcessableElementTagExtensions


  • public class IProcessableElementTagExtensions
    extends Object
    Meta-programming extensions to the IProcessableElementTag class.
    Author:
    zhanhb, Emanuel Rabina
    • Constructor Detail

      • IProcessableElementTagExtensions

        public IProcessableElementTagExtensions()
    • 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's th: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's th:with attribute processor.