eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Head':

Home

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

Class: Head (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-TopLevel
Version:
rev: 1.30 date: 2018/04/26 10:29:44
user: cg
file: HTML__Head.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  tagName


Instance protocol:

interface-accessing-elements
o  addLinkHref: aHref rel: aRel type: aType
Add a link to this head.

o  addMetaHttpEquivalent: anEquivalent content: aContent
Add a meta to this head.

o  addMetaName: aName content: aContent
Add a meta to this head.

o  addScriptLanguage: language
Add a link to this head.

o  addScriptLanguage: language src: source type: aType
Add a link to this head.

o  addScriptType: language code: theCode
Add a link to this head.

o  addStyle: aStyle
Add a style element to this head.

o  title
Return the title of the head.

o  title: aTitleOrString
Set a title of this head.

A title can be a html title-object or a simple string.

queries
o  canHaveChild: anotherElement in: aParser
return true if anotherElement is allowed as my child

o  canHaveText
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)

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

o  subelementsDo: aOneArgumentBlock
Execute a one argument block additionally for the title

testing
o  isHead


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 08:02:50 GMT