Class Element

java.lang.Object
it.unimi.dsi.parser.Element

@Deprecated public final class Element extends Object
Deprecated.
An HTML element type. * @deprecated This class is obsolete and kept around for backward compatibility only.
  • Field Details

    • name

      public final CharSequence name
      Deprecated.
      The name of the type of this element.
    • nameLength

      public final int nameLength
      Deprecated.
      The length of name.
    • breaksFlow

      public final boolean breaksFlow
      Deprecated.
      Whether this element breaks the flow.
    • isSimple

      public final boolean isSimple
      Deprecated.
      Whether this element is simple.
    • isImplicit

      public final boolean isImplicit
      Deprecated.
      Whether this element has implicit closure.
    • A

      public static final Element A
      Deprecated.
    • ABBR

      public static final Element ABBR
      Deprecated.
    • ACRONYM

      public static final Element ACRONYM
      Deprecated.
    • ADDRESS

      public static final Element ADDRESS
      Deprecated.
    • APPLET

      public static final Element APPLET
      Deprecated.
    • AREA

      public static final Element AREA
      Deprecated.
    • B

      public static final Element B
      Deprecated.
    • BASE

      public static final Element BASE
      Deprecated.
    • BASEFONT

      public static final Element BASEFONT
      Deprecated.
    • BDO

      public static final Element BDO
      Deprecated.
    • BIG

      public static final Element BIG
      Deprecated.
    • BLOCKQUOTE

      public static final Element BLOCKQUOTE
      Deprecated.
    • BODY

      public static final Element BODY
      Deprecated.
    • BR

      public static final Element BR
      Deprecated.
    • BUTTON

      public static final Element BUTTON
      Deprecated.
    • CAPTION

      public static final Element CAPTION
      Deprecated.
    • CENTER

      public static final Element CENTER
      Deprecated.
    • CITE

      public static final Element CITE
      Deprecated.
    • CODE

      public static final Element CODE
      Deprecated.
    • COL

      public static final Element COL
      Deprecated.
    • COLGROUP

      public static final Element COLGROUP
      Deprecated.
    • DD

      public static final Element DD
      Deprecated.
    • DEL

      public static final Element DEL
      Deprecated.
    • DFN

      public static final Element DFN
      Deprecated.
    • DIR

      public static final Element DIR
      Deprecated.
    • DIV

      public static final Element DIV
      Deprecated.
    • DL

      public static final Element DL
      Deprecated.
    • DT

      public static final Element DT
      Deprecated.
    • EM

      public static final Element EM
      Deprecated.
    • EMBED

      public static final Element EMBED
      Deprecated.
    • FIELDSET

      public static final Element FIELDSET
      Deprecated.
    • FONT

      public static final Element FONT
      Deprecated.
    • FORM

      public static final Element FORM
      Deprecated.
    • FRAME

      public static final Element FRAME
      Deprecated.
    • FRAMESET

      public static final Element FRAMESET
      Deprecated.
    • H1

      public static final Element H1
      Deprecated.
    • H2

      public static final Element H2
      Deprecated.
    • H3

      public static final Element H3
      Deprecated.
    • H4

      public static final Element H4
      Deprecated.
    • H5

      public static final Element H5
      Deprecated.
    • H6

      public static final Element H6
      Deprecated.
    • HR

      public static final Element HR
      Deprecated.
    • HTML

      public static final Element HTML
      Deprecated.
    • I

      public static final Element I
      Deprecated.
    • IFRAME

      public static final Element IFRAME
      Deprecated.
    • IMG

      public static final Element IMG
      Deprecated.
    • INPUT

      public static final Element INPUT
      Deprecated.
    • INS

      public static final Element INS
      Deprecated.
    • ISINDEX

      public static final Element ISINDEX
      Deprecated.
    • KBD

      public static final Element KBD
      Deprecated.
    • LABEL

      public static final Element LABEL
      Deprecated.
    • LEGEND

      public static final Element LEGEND
      Deprecated.
    • LI

      public static final Element LI
      Deprecated.
    • MAP

      public static final Element MAP
      Deprecated.
    • META

      public static final Element META
      Deprecated.
    • NOFRAMES

      public static final Element NOFRAMES
      Deprecated.
    • NOSCRIPT

      public static final Element NOSCRIPT
      Deprecated.
    • OBJECT

      public static final Element OBJECT
      Deprecated.
    • OL

      public static final Element OL
      Deprecated.
    • OPTION

      public static final Element OPTION
      Deprecated.
    • OPTGROUP

      public static final Element OPTGROUP
      Deprecated.
    • P

      public static final Element P
      Deprecated.
    • PARAM

      public static final Element PARAM
      Deprecated.
    • PRE

      public static final Element PRE
      Deprecated.
    • Q

      public static final Element Q
      Deprecated.
    • SAMP

      public static final Element SAMP
      Deprecated.
    • SCRIPT

      public static final Element SCRIPT
      Deprecated.
    • SELECT

      public static final Element SELECT
      Deprecated.
    • SMALL

      public static final Element SMALL
      Deprecated.
    • SPAN

      public static final Element SPAN
      Deprecated.
    • STRIKE

      public static final Element STRIKE
      Deprecated.
    • S

      public static final Element S
      Deprecated.
    • STRONG

      public static final Element STRONG
      Deprecated.
    • STYLE

      public static final Element STYLE
      Deprecated.
    • SUB

      public static final Element SUB
      Deprecated.
    • SUP

      public static final Element SUP
      Deprecated.
    • TABLE

      public static final Element TABLE
      Deprecated.
    • TBODY

      public static final Element TBODY
      Deprecated.
    • TD

      public static final Element TD
      Deprecated.
    • TEXTAREA

      public static final Element TEXTAREA
      Deprecated.
    • TFOOT

      public static final Element TFOOT
      Deprecated.
    • TH

      public static final Element TH
      Deprecated.
    • THEAD

      public static final Element THEAD
      Deprecated.
    • TITLE

      public static final Element TITLE
      Deprecated.
    • TR

      public static final Element TR
      Deprecated.
    • TT

      public static final Element TT
      Deprecated.
    • U

      public static final Element U
      Deprecated.
    • UL

      public static final Element UL
      Deprecated.
    • VAR

      public static final Element VAR
      Deprecated.
    • UNKNOWN

      public static final Element UNKNOWN
      Deprecated.
  • Constructor Details

    • Element

      public Element(CharSequence name)
      Deprecated.
      Creates a new element with the specified name. The element is assumed to break the flow, and neither being simple nor having implicit closure.
      Parameters:
      name - the name of the type of the new element.
    • Element

      public Element(CharSequence name, boolean breaksFlow, boolean isSimple)
      Deprecated.
      Creates a new element with the specified name and flags. The element is assumed not to have implicit closure.
      Parameters:
      name - the name of the type of the new element.
      breaksFlow - true if this elements breaks the flow.
      isSimple - true if this element is simple.
    • Element

      public Element(CharSequence name, boolean breaksFlow, boolean isSimple, boolean isImplicit)
      Deprecated.
      Creates a new element.
      Parameters:
      name - the name of the type of the new element.
      breaksFlow - true if this elements breaks the flow.
      isSimple - true if this element is simple.
      isImplicit - true if this element has implicit closure.
  • Method Details

    • toString

      public String toString()
      Deprecated.
      Returns the name of this element.
      Overrides:
      toString in class Object
      Returns:
      the name of this element.