|
|
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.48
date: 2008/09/03 09:00:08
- user: cg
- file: HTMLMarkup.st directory: libhtml
- module: stx stc-classLibrary: libhtml
- Author:
- Claus Gittinger
a generic markup element.
Provides access to the elements 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 ....>
HTMLParser
HTMLDocumentPainter
helpers
-
collectParametersFrom: text
-
-
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.
initialization
-
initialize
-
instance creation
-
classForType: aTypeSymbol
-
internal interface - return a markup elements class, given a typeSymbol
(such as #b, #pre or #'/pre')
-
for: aString
-
given a marks string (such as 'b', 'pre' or '/pre'),
return a new markup instance
-
type: aTypeSymbol
-
internal interface - create a markup element, given a typeSymbol
(such as #b, #pre or #'/pre'), return a new markup instance
accessing
-
bounds
-
-
tag
-
return the markups type, a symbol
-
text
-
return the markups text, if any
-
text: aString
-
set the markups text
-
type
-
return the markups type, a symbol
-
type: aSymbol
-
set the markups type to aSymbol
-
type: aSymbol text: aString
-
set the markups type to aSymbol and textInfo to aString
printing
-
printHTMLOn: aStream
-
printing & storing
-
displayString
-
return a printed representation of the receiver for displaying
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
-
|