eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Link':

Home

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

Class: Link (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Head
Version:
rev: 1.22 date: 2018/04/26 10:30:16
user: cg
file: HTML__Link.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

instance creation
o  href: aHref rel: aRel type: aType
Create a new link with the necessary attributes.

o  rel: aRel href: aHref
Create a new link with the necessary attributes.

o  rel: aRel href: aHref title: aString
Create a new link with the necessary attributes.

o  rel: aRel href: aHref type: aType
Create a new link with the necessary attributes.

required protocol
o  tagName


Instance protocol:

interface-attributes
o  href
Return the href of the link.

o  href: aHref
Set the href of the link.

o  media: mediaString

o  rel
Return the rel-attribute of the link.
This is a relationship to a link.

o  rel: aRel
Set the rel-attribute of the link.
This is a relationship to a link.

o  rev
Return the rev-attribute of the link.
This is a relationship from a link.

o  rev: aRev
Set the rev-attribute of the link.
This is a relationship to a link.

o  target
Return the target of the link.

o  target: aTarget
Set the target of the link.

o  title
Return the title of the link.

o  type
Return the type of the link.

o  type: aType
Set the type of the link.

queries
o  canHaveChild: anElement in: aParser
(comment from inherited method)
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)

o  isVoidElement
(comment from inherited method)
A void element is an element whose content model
never allows it to have contents under any circumstances.
Void elements can have attributes.

o  mustBeClosed
(comment from inherited method)
return true, if I need a closing tag (as opposed to br or img, which do not)

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

testing
o  isLink



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 16:07:24 GMT