eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Head':

Home

everywhere
www.exept.de
for:
[back]

Class: Head (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree-TopLevel
Version:
rev: 1.26 date: 2008/10/20 15:08:57
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 haed.

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

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

o  addScriptLanguage: language
Add a link to this haed.

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

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

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

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
return true, if anotherElement is allowed as my child

o  canHaveText

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 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 09:20:49 GMT