Class HtmlEmailInput

    • Field Detail

      • DEFAULT_PATTERN

        private static final java.util.regex.Pattern DEFAULT_PATTERN
    • Constructor Detail

      • HtmlEmailInput

        HtmlEmailInput​(java.lang.String qualifiedName,
                       SgmlPage page,
                       java.util.Map<java.lang.String,​DomAttr> attributes)
        Creates an instance.
        Parameters:
        qualifiedName - the qualified name of the element type to instantiate
        page - the page that contains this element
        attributes - the initial attributes
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Overrides:
        getValue in class HtmlInput
        Returns:
        the value
      • isValid

        public boolean isValid()
        Description copied from class: HtmlElement
        Returns whether this element satisfies all form validation constraints set.
        Overrides:
        isValid in class HtmlInput
        Returns:
        whether this element satisfies all form validation constraints set
      • isPatternSupported

        protected boolean isPatternSupported()
        Returns if the input element supports pattern validation. Refer to the HTML 5 documentation for details.
        Overrides:
        isPatternSupported in class HtmlInput
        Returns:
        if the input element supports pattern validation
      • isBlankPatternValidated

        protected boolean isBlankPatternValidated()
        Overrides:
        isBlankPatternValidated in class HtmlInput
        Returns:
        if the element executes pattern validation on blank strings
      • isMinMaxLengthSupported

        protected boolean isMinMaxLengthSupported()
        Returns if the input element supports maxlength minlength validation. Refer to the HTML 5 documentation for details.
        Overrides:
        isMinMaxLengthSupported in class HtmlInput
        Returns:
        if the input element supports pattern validation