|
Class: HTMLMarkup
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
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 ....>
copyrightCOPYRIGHT (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.
helpers
-
collectParametersFrom: parameterTextArg
-
FIXME: code duplication with HTML::HTMLParser
-
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.
-
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.
accessing
-
bounds
-
return bounds; a rectangle or rectangle collection
-
bounds: aRectangleOrRectangleCollection
-
set bounds; a rectangle or rectangle collection
-
parent
-
-
parent: something
-
-
tag
-
return the markup's type, a symbol
-
tagName
-
for compatibility with the new HTML-tree elements
-
type
-
return the markup's type, a symbol
-
type: aSymbol
-
set the markup's type to aSymbol
-
type: aSymbol text: aString
-
set the markup's type to aSymbol and textInfo to aString
queries
-
actionString
-
-
alignSymbol
-
return the align parameter - or nil, if there is none
-
boundsTop
-
-
nameString
-
-
typeString
-
-
valignSymbol
-
return the valign parameter - or nil, if there is none
-
valueString
-
testing
-
isEndTag
-
-
isFormEndElement
-
-
isHeading
-
true if the receiver is one of the <hI> tags
-
isOptionElement
-
-
isPrintable
-
answer true, if element can be printed
-
isSelectEndElement
-
-
isSelected
-
|