HtmlEntity
Last updated at 9:00 am UTC on 16 September 2017
When HtmlParser runs, it generates a tree whose nodes are in HtmlEntity's subclasses. There is a separate class for most of the available elements in HTML, though some are grouped together under generic classes like HtmlBoldEntity.
Methods of particular interest when modifying or adding subclasses are:
- initialize:
- mayContain:
- addToFormatter:
The mapping from tag to HtmlEntity class names is done in the method entityClasses of class HtmlTag.
HtmlEntity printHierarchy '
ProtoObject #()
Object #()
HtmlEntity #(''contents'' ''attribs'')
HtmlArea #()
HtmlBlockEntity #()
HtmlBlockQuote #()
HtmlDefinitionList #()
HtmlList #()
HtmlOrderedList #()
HtmlUnorderedList #()
HtmlBody #()
HtmlDefinitionListElement #()
HtmlDefinitionDefinition #()
HtmlDefinitionTerm #()
HtmlDocument #()
HtmlForm #(''formEntities'')
HtmlFormEntity #(''form'')
HtmlButton #()
HtmlInput #(''value'')
HtmlOption #()
HtmlOptionGroup #()
HtmlSelect #()
HtmlTextArea #()
HtmlFrame #()
HtmlFrameSet #()
HtmlHead #()
HtmlHeadEntity #()
HtmlMeta #(''theTag'')
HtmlStyle #()
HtmlTitle #()
HtmlHeader #(''level'')
HtmlHorizontalRule #()
HtmlListItem #()
HtmlMap #()
HtmlParagraph #()
HtmlPreformattedRegion #()
HtmlTable #()
HtmlTableDataItem #()
HtmlTableHeader #()
HtmlTableRow #()
HtmlTextualEntity #()
HtmlCommentEntity #(''commentText'')
HtmlFontChangeEntity #(''tagName'')
HtmlBiggerFontEntity #()
HtmlBoldEntity #()
HtmlFixedWidthEntity #()
HtmlFontEntity #()
HtmlItalicsEntity #()
HtmlSmallerFontEntity #()
HtmlStrikeEntity #()
HtmlSubscript #()
HtmlSuperscript #()
HtmlUnderlineEntity #()
HtmlSpecialEntity #()
HtmlAnchor #()
HtmlBreak #()
HtmlEmbedded #()
HtmlImage #(''image'')
HtmlNoEmbed #()
HtmlTextEntity #(''text'')'