eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTMLMarkup':

Home

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

Class: HTMLMarkup


Inheritance:

   Object
   |
   +--Collection
      |
      +--SequenceableCollection
         |
         +--ArrayedCollection
            |
            +--Array
               |
               +--HTMLElement
                  |
                  +--HTMLMarkup
                     |
                     +--HTMLAnchor
                     |
                     +--HTMLBullet
                     |
                     +--HTMLForm
                     |
                     +--HTMLList
                     |
                     +--HTMLScript
                     |
                     +--HTMLStyle
                     |
                     +--HTMLTable
                     |
                     +--HTMLWidget

Package:
stx:libhtml
Category:
System-Documentation
Version:
rev: 1.68 date: 2021/01/20 10:37:04
user: cg
file: HTMLMarkup.st directory: libhtml
module: stx stc-classLibrary: libhtml

Description:


Attention: Please read the warning in HTMLElement.

a generic markup element.
Provides access to the element's attributes (parameters).
Also, provides parsing support to extract those from the
elements string i.e. to read them from the remaining string 
after the 'foo' in <foo ....>

copyright

COPYRIGHT (c) 1996 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

helpers
o  collectParametersFrom: parameterTextArg
FIXME: code duplication with HTML::HTMLParser

o  parameterFor: keyword from: text
look for the value of a keyword parameter; return
it as a string or nil, if no value given, or parameter is not present.
Notice: returns nil if parameter is there, but without a value.

o  parameterFor: keyword orLowerCase: lcKeyword from: text
look for the value of a keyword parameter; return
it as a string or nil, if no value given, or parameter is not present.
Notice: returns nil if parameter is there, but without a value.


Instance protocol:

accessing
o  bounds
return bounds; a rectangle or rectangle collection

o  bounds: aRectangleOrRectangleCollection
set bounds; a rectangle or rectangle collection

o  parent

o  parent: something

o  tag
return the markup's type, a symbol

o  tagName
for compatibility with the new HTML-tree elements

o  type
return the markup's type, a symbol

o  type: aSymbol
set the markup's type to aSymbol

o  type: aSymbol text: aString
set the markup's type to aSymbol and textInfo to aString

queries
o  actionString

o  alignSymbol
return the align parameter - or nil, if there is none

o  boundsTop

o  nameString

o  typeString

o  valignSymbol
return the valign parameter - or nil, if there is none

o  valueString

testing
o  isEndTag

o  isFormEndElement

o  isHeading
true if the receiver is one of the <hI> tags

o  isOptionElement

o  isPrintable
answer true, if element can be printed

o  isSelectEndElement

o  isSelected



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 05:50:05 GMT