Enum JsoupElementChecks

java.lang.Object
java.lang.Enum<JsoupElementChecks>
htmlcompiler.checks.jsoup.JsoupElementChecks
All Implemented Interfaces:
Serializable, Comparable<JsoupElementChecks>

public enum JsoupElementChecks
extends Enum<JsoupElementChecks>
  • Method Details

    • values

      public static JsoupElementChecks[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JsoupElementChecks valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • buttonHasHref

      public static void buttonHasHref​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasStyleAttribute

      public static void hasStyleAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasUppercaseTagsOrAttributes

      public static void hasUppercaseTagsOrAttributes​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • missingAltForImages

      public static void missingAltForImages​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • missingPlaceholderForInputs

      public static void missingPlaceholderForInputs​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseMarquee

      public static void dontUseMarquee​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseBlink

      public static void dontUseBlink​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseBold

      public static void dontUseBold​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseItalic

      public static void dontUseItalic​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseStrong

      public static void dontUseStrong​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseEm

      public static void dontUseEm​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • dontUseStyling

      public static void dontUseStyling​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • marginWidthInBody

      public static void marginWidthInBody​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • alignAttributeContainsAbsmiddle

      public static void alignAttributeContainsAbsmiddle​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasBorderAttribute

      public static void hasBorderAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasDeprecatedTag

      public static void hasDeprecatedTag​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasDeprecatedAttribute

      public static void hasDeprecatedAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • scriptWithHardcodedNonce

      public static void scriptWithHardcodedNonce​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • styleWithHardcodedNonce

      public static void styleWithHardcodedNonce​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • labelWithForAttribute

      public static void labelWithForAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • inputWithoutMaxLength

      public static void inputWithoutMaxLength​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • hasEventHandlerAttribute

      public static void hasEventHandlerAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • isValidTag

      public static void isValidTag​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)
    • isValidAttribute

      public static void isValidAttribute​(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)