Package htmlcompiler.checks.jsoup
Enum JsoupElementChecks
- All Implemented Interfaces:
Serializable,Comparable<JsoupElementChecks>
public enum JsoupElementChecks extends Enum<JsoupElementChecks>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJsoupElementChecks.JsoupElementCheck -
Method Summary
Modifier and Type Method Description static voidalignAttributeContainsAbsmiddle(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseBlink(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseBold(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseEm(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseItalic(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseMarquee(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseStrong(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voiddontUseStyling(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasBorderAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasDeprecatedAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasDeprecatedTag(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasEventHandlerAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasStyleAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidhasUppercaseTagsOrAttributes(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidinputWithoutMaxLength(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidisValidAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidisValidTag(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidlabelWithForAttribute(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidmarginWidthInBody(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidmissingAltForImages(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidmissingPlaceholderForInputs(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidscriptWithHardcodedNonce(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static voidstyleWithHardcodedNonce(Logger log, ChecksConfig config, Path file, org.jsoup.nodes.Element element)static JsoupElementChecksvalueOf(String name)Returns the enum constant of this type with the specified name.static JsoupElementChecks[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
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)
-