Interface TagBase

All Superinterfaces:
Cloneable, Serializable
All Known Subinterfaces:
AAttributable, AbbrAttributable, AddressAttributable, AreaAttributable, ArticleAttributable, AsideAttributable, AudioAttributable, BaseAttributable, BaseFontAttributable, BAttributable, BdiAttributable, BdoAttributable, BlockQuoteAttributable, BodyAttributable, BooleanAttribute, BrAttributable, ButtonAttributable, CanvasAttributable, CaptionAttributable, CircleAttributable, CiteAttributable, CodeAttributable, ColAttributable, ColGroupAttributable, DataAttributable, DataListAttributable, DdAttributable, DelAttributable, DetailsAttributable, DfnAttributable, DialogAttributable, DivAttributable, DlAttributable, DocAttributable, DtAttributable, EllipseAttributable, EmAttributable, EmbedAttributable, FieldAttributable, FigCaptionAttributable, FigureAttributable, FooterAttributable, FormAttributable, GlobalAttributable, H1Attributable, H2Attributable, H3Attributable, H4Attributable, H5Attributable, H6Attributable, HeadAttributable, HeaderAttributable, HGroupAttributable, HrAttributable, HtmlAttributable, HtmlView, IAttributable, IFrameAttributable, ImgAttributable, InputAttributable, InsAttributable, KbdAttributable, KeyGenAttributable, LabelAttributable, LegendAttributable, LiAttributable, LineAttributable, LinkAttributable, MainAttributable, MapTagAttributable, MarkAttributable, MathTagAttributable, MenuAttributable, MenuItemAttributable, MetaAttributable, MeterAttributable, NavAttributable, NoScriptAttributable, ObjectTagAttributable, OlAttributable, OptGroupAttributable, OptionAttributable, OutputAttributable, ParamAttributable, PathAttributable, PAttributable, PictureAttributable, PolygonAttributable, PolylineAttributable, PreAttributable, ProgressAttributable, QAttributable, QfnAttributable, RectAttributable, RpAttributable, RtAttributable, RubyAttributable, SampAttributable, SAttributable, ScriptAttributable, SectionAttributable, SelectAttributable, SmallAttributable, SourceAttributable, SpanAttributable, StrongAttributable, StyleAttributable, SubAttributable, SummaryAttributable, SupAttributable, SvgAttributable, TableAttributable, TBodyAttributable, TdAttributable, TemplateAttributable, TextAreaAttributable, TextAttributable, TFootAttributable, ThAttributable, THeadAttributable, TimeAttributable, TitleAttributable, TrackAttributable, TrAttributable, UAttributable, UlAttributable, VarAttributable, VideoAttributable, WbrAttributable
All Known Implementing Classes:
A, Abbr, AbstractAttribute, AbstractEventAttribute, AbstractHtml, AbstractHtmlView, AbstractJsObject, AbstractTagBase, AbstractValueSetAttribute, Accept, AcceptCharset, AccessKey, Action, Address, Align, Alt, AnimationEnd, AnimationIteration, AnimationStart, Area, Article, Aside, Async, Audio, AutoComplete, AutoFocus, AutoPlay, B, Base, BaseFont, Bdi, Bdo, Blank, BlockQuote, Body, Border, Br, Button, Canvas, Caption, CellPadding, CellSpacing, Charset, Checked, Circle, Cite, ClassAttribute, Code, Col, ColGroup, ColorAttribute, Cols, ColSpan, Content, ContentEditable, ContextMenu, Controls, CoOrds, CustomAttribute, CustomEventAttribute, CustomTag, Data, DataAttribute, DataList, DataWffId, DateTime, Dd, Default, Defer, Del, Details, Dfn, Dialog, Dir, DirName, Disabled, Div, Dl, DocType, Download, Draggable, Dropzone, Dt, Ellipse, Em, Embed, EncType, Face, FieldSet, FigCaption, Figure, Footer, For, Form, FormAction, FormAttribute, FormEncType, FormMethod, FormNoValidate, FormTarget, H1, H2, H3, H4, H5, H6, Head, Header, Headers, Height, HGroup, Hidden, High, Hr, Href, HrefLang, Html, HttpEquiv, I, Id, IFrame, Img, Input, Ins, IsMap, Kbd, KeyGen, Label, Lang, Legend, Li, Line, Link, List, Loop, Low, Main, MapTag, Mark, MathTag, Max, MaxLength, Media, Menu, MenuItem, Meta, Meter, Method, Min, MinLength, Multiple, Muted, Name, Nav, NoHref, Nonce, NoScript, NoTag, ObjectTag, Ol, OnAbort, OnAfterPrint, OnBeforePrint, OnBeforeUnload, OnBlur, OnCanPlay, OnCanPlayThrough, OnChange, OnClick, OnContextMenu, OnCopy, OnCut, OnDblClick, OnDrag, OnDragEnd, OnDragEnter, OnDragLeave, OnDragOver, OnDragStart, OnDrop, OnDurationChange, OnEmptied, OnEnded, OnError, OnFocus, OnFocusIn, OnFocusOut, OnHashChange, OnInput, OnInvalid, OnKeyDown, OnKeyPress, OnKeyUp, OnLoad, OnLoadedData, OnLoadedMetaData, OnLoadStart, OnMouseDown, OnMouseEnter, OnMouseLeave, OnMouseMove, OnMouseOut, OnMouseOver, OnMouseUp, OnOffline, OnOnline, OnPageHide, OnPageShow, OnPaste, OnPause, OnPlay, OnPlaying, OnPopState, OnProgress, OnRateChange, OnReset, OnResize, OnScroll, OnSearch, OnSeeked, OnSeeking, OnSelect, OnShow, OnStalled, OnStorage, OnSubmit, OnSuspend, OnTimeUpdate, OnToggle, OnTouchCancel, OnTouchEnd, OnTouchMove, OnTouchStart, OnUnload, OnVolumeChange, OnWaiting, OnWheel, Open, OptGroup, Optimum, Option, Output, P, Param, Path, Pattern, Picture, Placeholder, Polygon, Polyline, Poster, Pre, Preload, Progress, Q, Qfn, ReadOnly, Rect, Rel, Required, Rev, Reversed, Role, Rows, RowSpan, Rp, Rt, Ruby, S, Samp, Sandbox, Scope, Script, Section, Select, Selected, Shape, Size, Sizes, Small, Sorted, Source, Span, SpellCheck, Src, SrcSet, Step, Strong, Style, StyleTag, Sub, Summary, Sup, Svg, TabIndex, Table, Target, TBody, Td, Template, Text, TextArea, TFoot, Th, THead, Time, Title, TitleTag, Tr, Track, TransitionEnd, Translate, Type, U, Ul, UseMap, Value, Var, Video, Wbr, Width, Wrap

public interface TagBase extends Serializable, Cloneable
  • Method Summary

    Modifier and Type
    Method
    Description
    gets the html string of the tag including the child tags/values.
    toHtmlString(boolean rebuild)
    rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
    toHtmlString(boolean rebuild, String charset)
    Deprecated.
    since 3.0.19 as it is unused in the internal implementation.
    toHtmlString(boolean rebuild, Charset charset)
    Deprecated.
    since 3.0.19 as it is unused in the internal implementation.
    Deprecated.
    since 3.0.19 as it is unused in the internal implementation.
    Deprecated.
    since 3.0.19 as it is unused in the internal implementation.
    gets the html string of the tag including the child tags/values.
  • Method Details

    • toHtmlString

      String toHtmlString()
      gets the html string of the tag including the child tags/values. rebuilds the html string if the child tags/values or attributes have been modified.
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toHtmlString

      @Deprecated String toHtmlString(Charset charset)
      Deprecated.
      since 3.0.19 as it is unused in the internal implementation. It will be removed in future major version.
      gets the html string of the tag including the child tags/values using the given charset. rebuilds the html string if the child tags/values or attributes have been modified.
      Parameters:
      charset - the charset to set for the returning value, eg: StandardCharsets.UTF_8
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toHtmlString

      @Deprecated String toHtmlString(String charset)
      Deprecated.
      since 3.0.19 as it is unused in the internal implementation. It will be removed in future major version.
      gets the html string of the tag including the child tags/values using the given charset. rebuilds the html string if the child tags/values or attributes have been modified.
      Parameters:
      charset - the charset to set for the returning value, eg: StandardCharsets.UTF_8.name()
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toHtmlString

      String toHtmlString(boolean rebuild)
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      Parameters:
      rebuild - true to rebuild & false to return previously built string.
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toHtmlString

      @Deprecated String toHtmlString(boolean rebuild, Charset charset)
      Deprecated.
      since 3.0.19 as it is unused in the internal implementation. It will be removed in future major version.
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      Parameters:
      rebuild - true to rebuild & false to return previously built string.
      charset - the charset to set for the returning value, eg: StandardCharsets.UTF_8
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toHtmlString

      @Deprecated String toHtmlString(boolean rebuild, String charset)
      Deprecated.
      since 3.0.19 as it is unused in the internal implementation. It will be removed in future major version.
      rebuilds the html string of the tag including the child tags/values if parameter is true, otherwise returns the html string prebuilt and kept in the cache.
      Parameters:
      rebuild - true to rebuild & false to return previously built string.
      charset - the charset to set for the returning value, eg: StandardCharsets.UTF_8.name()
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0
    • toString

      String toString()
      gets the html string of the tag including the child tags/values. rebuilds the html string if the child tags/values or attributes have been modified.
      Overrides:
      toString in class Object
      Returns:
      String equalent to the html string of the tag including the child tags.
      Since:
      1.0.0