|
Class: DefinitionList (in HTML)
Object
|
+--HTML::AbstractElement
|
+--HTML::AbstractHTMLElement
|
+--HTML::DefinitionList
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-ModelTree-Lists
- Version:
- rev:
1.21
date: 2018/04/26 10:29:07
- user: cg
- file: HTML__DefinitionList.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
required protocol
-
tagName
-
queries
-
canHaveChild: anotherElement in: aParser
-
return true, if anotherElement is allowed as my child
-
canHaveText
-
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
-
addDefinition: anAssociation
-
Add a definition description to the definition list.
The definition description can be either the html-object
or a simple string.
-
addDefinitionDescription: aDefinitionDescriptionOrString
-
Add a definition description to the definition list.
The definition description can be either the html-object
or a simple string.
-
addDefinitionTerm: aDefinitionTermOrString
-
Add a definition term to the definition list.
The definition term can be either the html-object
or a simple string.
testing
-
isBlockElement
-
-
isDefinitionList
-
A definition list:
|list|
list := DefinitionList new.
list addDefinition:'Smalltalk' -> 'Object oriented programming language.'.
list addLineBreak.
list addDefinitionTerm:'Java'.
list addDefinitionDescription:'Clever marketing strategie based on old stuff..'.
list htmlString.
|
|