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, File file, org.jsoup.nodes.Element element)static voiddontUseBlink(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseBold(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseEm(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseItalic(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseMarquee(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseStrong(Logger log, File file, org.jsoup.nodes.Element element)static voiddontUseStyling(Logger log, File file, org.jsoup.nodes.Element element)static voidhasBorderAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidhasDeprecatedAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidhasDeprecatedTag(Logger log, File file, org.jsoup.nodes.Element element)static voidhasEventHandlerAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidhasStyleAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidhasUppercaseTagsOrAttributes(Logger log, File file, org.jsoup.nodes.Element element)static voidinputWithoutMaxLength(Logger log, File file, org.jsoup.nodes.Element element)static voidisValidAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidisValidTag(Logger log, File file, org.jsoup.nodes.Element element)static voidlabelWithForAttribute(Logger log, File file, org.jsoup.nodes.Element element)static voidmarginWidthInBody(Logger log, File file, org.jsoup.nodes.Element element)static voidmissingAltForImages(Logger log, File file, org.jsoup.nodes.Element element)static voidmissingPlaceholderForInputs(Logger log, File file, org.jsoup.nodes.Element element)static voidscriptWithHardcodedNonce(Logger log, File file, org.jsoup.nodes.Element element)static voidstyleWithHardcodedNonce(Logger log, File 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
-
hasUppercaseTagsOrAttributes
-
missingAltForImages
-
missingPlaceholderForInputs
-
dontUseMarquee
-
dontUseBlink
-
dontUseBold
-
dontUseItalic
-
dontUseStrong
-
dontUseEm
-
dontUseStyling
-
marginWidthInBody
-
alignAttributeContainsAbsmiddle
-
hasBorderAttribute
-
hasDeprecatedTag
-
hasDeprecatedAttribute
-
scriptWithHardcodedNonce
-
styleWithHardcodedNonce
-
labelWithForAttribute
-
inputWithoutMaxLength
-
hasEventHandlerAttribute
-
isValidTag
-
isValidAttribute
-