Package htmlcompiler.compilers.checks
Enum Class ElementChecks
- All Implemented Interfaces:
Serializable,Comparable<ElementChecks>,Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic voidalignAttributeContainsAbsmiddle(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidbuttonHasHref(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseBlink(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseBold(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseEm(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseItalic(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseMarquee(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseStrong(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voiddontUseStyling(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasBorderAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasDeprecatedAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasDeprecatedTag(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasEventHandlerAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasStyleAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidhasUppercaseTagsOrAttributes(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidinputWithoutMaxLength(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidisValidAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidisValidTag(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidlabelWithForAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidmarginWidthInBody(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidmissingAltForImages(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidmissingInputType(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidmissingPatternForInputs(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidmissingPlaceholderForInputs(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidscriptWithHardcodedNonce(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidstyleWithHardcodedNonce(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static voidunknownInputType(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) static ElementChecksReturns the enum constant of this class with the specified name.static ElementChecks[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
buttonHasHref
public static void buttonHasHref(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasStyleAttribute
public static void hasStyleAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasUppercaseTagsOrAttributes
public static void hasUppercaseTagsOrAttributes(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
missingAltForImages
public static void missingAltForImages(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
missingPlaceholderForInputs
public static void missingPlaceholderForInputs(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
missingPatternForInputs
public static void missingPatternForInputs(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
missingInputType
public static void missingInputType(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
unknownInputType
public static void unknownInputType(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseMarquee
public static void dontUseMarquee(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseBlink
public static void dontUseBlink(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseBold
public static void dontUseBold(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseItalic
public static void dontUseItalic(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseStrong
public static void dontUseStrong(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseEm
public static void dontUseEm(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
dontUseStyling
public static void dontUseStyling(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
marginWidthInBody
public static void marginWidthInBody(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
alignAttributeContainsAbsmiddle
public static void alignAttributeContainsAbsmiddle(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasBorderAttribute
public static void hasBorderAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasDeprecatedTag
public static void hasDeprecatedTag(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasDeprecatedAttribute
public static void hasDeprecatedAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
scriptWithHardcodedNonce
public static void scriptWithHardcodedNonce(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
styleWithHardcodedNonce
public static void styleWithHardcodedNonce(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
labelWithForAttribute
public static void labelWithForAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
inputWithoutMaxLength
public static void inputWithoutMaxLength(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
hasEventHandlerAttribute
public static void hasEventHandlerAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
isValidTag
public static void isValidTag(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element) -
isValidAttribute
public static void isValidAttribute(Logger log, CompilerConfig config, Path file, org.jsoup.nodes.Element element)
-