Class ConformanceRules.BanSetAttribute

  • All Implemented Interfaces:
    CheckConformance.Rule
    Enclosing class:
    ConformanceRules

    public static final class ConformanceRules.BanSetAttribute
    extends ConformanceRules.AbstractRule
    Ban Element#setAttribute with attribute names specified in value or any dynamic string.

    Using the element access syntax to set properties of Element is considered to be equivalent to calling Element#setAttribute. E.g., element[prop] = value is treated as element.setAttribute(prop, value) when element has the type Element.