Enum HtmlTag

  • All Implemented Interfaces:
    Serializable, Comparable<HtmlTag>

    @Deprecated
    public enum HtmlTag
    extends Enum<HtmlTag>
    Deprecated.
    Enum representing HTML tags.

    This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

    Author:
    Bhavesh Patel
    • Enum Constant Detail

      • A

        public static final HtmlTag A
        Deprecated.
      • BLOCKQUOTE

        public static final HtmlTag BLOCKQUOTE
        Deprecated.
      • BODY

        public static final HtmlTag BODY
        Deprecated.
      • BR

        public static final HtmlTag BR
        Deprecated.
      • CAPTION

        public static final HtmlTag CAPTION
        Deprecated.
      • CENTER

        public static final HtmlTag CENTER
        Deprecated.
      • CODE

        public static final HtmlTag CODE
        Deprecated.
      • DD

        public static final HtmlTag DD
        Deprecated.
      • DIR

        public static final HtmlTag DIR
        Deprecated.
      • DIV

        public static final HtmlTag DIV
        Deprecated.
      • DL

        public static final HtmlTag DL
        Deprecated.
      • DT

        public static final HtmlTag DT
        Deprecated.
      • EM

        public static final HtmlTag EM
        Deprecated.
      • FONT

        public static final HtmlTag FONT
        Deprecated.
      • FOOTER

        public static final HtmlTag FOOTER
        Deprecated.
      • H1

        public static final HtmlTag H1
        Deprecated.
      • H2

        public static final HtmlTag H2
        Deprecated.
      • H3

        public static final HtmlTag H3
        Deprecated.
      • H4

        public static final HtmlTag H4
        Deprecated.
      • H5

        public static final HtmlTag H5
        Deprecated.
      • H6

        public static final HtmlTag H6
        Deprecated.
      • HEAD

        public static final HtmlTag HEAD
        Deprecated.
      • HEADER

        public static final HtmlTag HEADER
        Deprecated.
      • HR

        public static final HtmlTag HR
        Deprecated.
      • HTML

        public static final HtmlTag HTML
        Deprecated.
      • I

        public static final HtmlTag I
        Deprecated.
      • IFRAME

        public static final HtmlTag IFRAME
        Deprecated.
      • IMG

        public static final HtmlTag IMG
        Deprecated.
      • INPUT

        public static final HtmlTag INPUT
        Deprecated.
      • LI

        public static final HtmlTag LI
        Deprecated.
      • LISTING

        public static final HtmlTag LISTING
        Deprecated.
      • LINK

        public static final HtmlTag LINK
        Deprecated.
      • MAIN

        public static final HtmlTag MAIN
        Deprecated.
      • MENU

        public static final HtmlTag MENU
        Deprecated.
      • META

        public static final HtmlTag META
        Deprecated.
      • NAV

        public static final HtmlTag NAV
        Deprecated.
      • NOSCRIPT

        public static final HtmlTag NOSCRIPT
        Deprecated.
      • OL

        public static final HtmlTag OL
        Deprecated.
      • P

        public static final HtmlTag P
        Deprecated.
      • PRE

        public static final HtmlTag PRE
        Deprecated.
      • SCRIPT

        public static final HtmlTag SCRIPT
        Deprecated.
      • SECTION

        public static final HtmlTag SECTION
        Deprecated.
      • SMALL

        public static final HtmlTag SMALL
        Deprecated.
      • SPAN

        public static final HtmlTag SPAN
        Deprecated.
      • STRONG

        public static final HtmlTag STRONG
        Deprecated.
      • SUB

        public static final HtmlTag SUB
        Deprecated.
      • TABLE

        public static final HtmlTag TABLE
        Deprecated.
      • TBODY

        public static final HtmlTag TBODY
        Deprecated.
      • TD

        public static final HtmlTag TD
        Deprecated.
      • TH

        public static final HtmlTag TH
        Deprecated.
      • TITLE

        public static final HtmlTag TITLE
        Deprecated.
      • TR

        public static final HtmlTag TR
        Deprecated.
      • TT

        public static final HtmlTag TT
        Deprecated.
      • UL

        public static final HtmlTag UL
        Deprecated.
    • Method Detail

      • values

        public static HtmlTag[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HtmlTag c : HtmlTag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HtmlTag valueOf​(String name)
        Deprecated.
        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
      • endTagRequired

        public boolean endTagRequired()
        Deprecated.
        Returns true if the end tag is required. This is specific to the standard doclet and does not exactly resemble the W3C specifications.
        Returns:
        true if end tag needs to be displayed else return false
      • allowTag

        public boolean allowTag​(HtmlVersion htmlVer)
        Deprecated.
        Returns true if the tag is allowed in the output HTML version of this javadoc run.
        Parameters:
        htmlVer - the output HTML version for this javadoc run
        Returns:
        true if the tag is allowed