|
Class: Link (in HTML)
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
instance creation
-
href: aHref rel: aRel type: aType
-
Create a new link with the necessary attributes.
-
rel: aRel href: aHref
-
Create a new link with the necessary attributes.
-
rel: aRel href: aHref title: aString
-
Create a new link with the necessary attributes.
-
rel: aRel href: aHref type: aType
-
Create a new link with the necessary attributes.
required protocol
-
tagName
-
interface-attributes
-
href
-
Return the href of the link.
-
href: aHref
-
Set the href of the link.
-
media: mediaString
-
-
rel
-
Return the rel-attribute of the link.
This is a relationship to a link.
-
rel: aRel
-
Set the rel-attribute of the link.
This is a relationship to a link.
-
rev
-
Return the rev-attribute of the link.
This is a relationship from a link.
-
rev: aRev
-
Set the rev-attribute of the link.
This is a relationship to a link.
-
target
-
Return the target of the link.
-
target: aTarget
-
Set the target of the link.
-
title
-
Return the title of the link.
-
type
-
Return the type of the link.
-
type: aType
-
Set the type of the link.
queries
-
canHaveChild: anElement in: aParser
-
(comment from inherited method)
return true, if anotherElement is allowed as my child
-
canHaveText
-
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)
-
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.
-
mustBeClosed
-
(comment from inherited method)
return true, if I need a closing tag (as opposed to br or img, which do not)
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isLink
-
|