eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Element':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Element (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::Element

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree
Version:
rev: 1.35 date: 2019/07/09 16:14:20
user: matilk
file: HTML__Element.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

queries
o  isGeneric
Return true here.
This is the only generic element.


Instance protocol:

accessing
o  tagName
Return the tag name.

o  tagName: aTagName
Set the tag name.
Despite all other tag names
here it is settable.

queries
o  canHaveChild: anElement in: aParser
more here ?

o  canHaveText
a dummy element

o  mustBeClosed
(comment from inherited method)
return true, if I need a closing tag (as opposed to br or img, which do not)

required-visiting
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor

testing
o  isBlockElement
return true, if I am a block-element; false otherwise

o  isInlineElement
return true, if I am an inline-element; false otherwise


Examples:


more examples to be added:
  ... add code fragment for 
  ... executable example here ...


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 05:57:09 GMT