eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Element':

Home

everywhere
www.exept.de
for:
[back]

Class: Element (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree
Version:
rev: 1.29 date: 2008/01/11 09:38:10
user: cg
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

o  canHaveText

o  mustBeClosed

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 6.1.1; WebServer 1.620 at exept:8081; Fri, 10 Feb 2012 13:17:26 GMT