Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
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:


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'')'