Class AbstractNonSelfClosingHtmlElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.jdom2.NamespaceAware, org.jdom2.Parent
    Direct Known Subclasses:
    Anchor, Audio, Div, FigCaption, Figure, Map, NoScript, Picture, Script, Span, Video

    @ConsumerType
    public abstract class AbstractNonSelfClosingHtmlElement
    extends HtmlElement
    Html element wrapper tags that must not rendered self-closing to avoid problems in certain browsers. Mosf of the elements that extend from this class are block-level elements, but not all of them.
    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractNonSelfClosingHtmlElement

        protected AbstractNonSelfClosingHtmlElement​(java.lang.String pName)
        Initializes html element.
        Parameters:
        pName - Element name