eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTMLElement':

Home

everywhere
www.exept.de
for:
[back]

Class: HTMLElement


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ArrayedCollection
            |
            +--Array
               |
               +--HTMLElement
                  |
                  +--HTMLMarkup
                  |
                  +--HTMLText

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.20 date: 2008/09/03 09:00:01
user: cg
file: HTMLElement.st directory: libhtml
module: stx stc-classLibrary: libhtml
Author:
Claus Gittinger

Description:


a generic element (both TAGS and text-fragments).
This is an amstract class, providing support to handle
a document as a linked list of elements..


Related information:

    HTMLParser
    HTMLDocumentPainter

Class protocol:

helpers
o  colorForSpec: aSpec
returns the color for a spec or nil

instance release
o  lowSpacCleanup

o  releaseColors
release cached colors


Instance protocol:

accessing
o  colorParameter: keyword
return the color of a color parameter - or nil, if there is none

o  hasParameterFor: keyword

o  id

o  name

o  next

o  next: something

o  numericParameterFor: keyword
return the value of a number parameter - or nil, if there is none

o  numericParameterFor: keyword default: default
return the value of a number parameter - or the default, if there is none

o  parameterFor: keyword

o  parameterFor: keyword put: newValue

o  parameterSlotIndexFor: keyword

o  parent

o  parent: something

o  tag
return the markups tag, a symbol or nil

o  type
return the markups type, a symbol or nil

enumerating
o  do: aBlock
evaluate aBlock for myself and all remaining elements

o  printElementsDo: aBlock
redefined to show only the attributes contained within the array

printing
o  printHTMLOn: aStream

** This method raises an error - it must be redefined in concrete classes **

o  printOn: aStream

testing
o  isAnchor

o  isEndTag

o  isFormElement

o  isFormEndElement

o  isHead

o  isHeading

o  isImageElement

o  isInputElement

o  isOptionElement

o  isSelectElement

o  isSelectEndElement

o  isTextElement



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:46:46 GMT