|
Class: StyleEncoder (in HTML)
Object
|
+--HTML::StyleVisitor
|
+--HTML::StyleEncoder
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-TreeBuilder
- Version:
- rev:
1.18
date: 2019/07/13 12:20:49
- user: cg
- file: HTML__StyleEncoder.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
instance creation
-
new
-
Create a new encoder.
Build the necessary stream.
-
on: aStream
-
Create an encoder on a stream.
accessing
-
indent
-
Return the indent used while printing.
-
indent: anIndention
-
Set the indent used while printing.
printing
-
htmlString
-
Return the html string.
Call this after doing a '#visit:'.
private-accessing
-
setStream: aStream
-
Set a stream as the stream to print on.
Private - Use only for instance creation.
private-printing
-
printProperties: aStyleElement
-
Print the property-list of a style element onto the stream.
The properties are enclosed in curly-brackets.
-
printProperty: aProperty
-
Print one property, that could be a string, too.
-
printPropertyValue: aProperty
-
Print one property value on the stream.
-
printPropertyValues: aProperty
-
Print a list of propery-values on the stream.
-
printSelectors: aStyleElement
-
The selector-list of a style element gets printed.
The list is comma-separated.
-
printString: aString
-
Print a string being included as element.
-
printStyleElement: aStyleElement
-
Print a style element.
-
printStyleProperty: aProperty
-
Print a style property.
required-visiting
-
visitString: aString
-
A string gets visited.
-
visitStyleElement: aStyleElement
-
A style element gets visited.
-
visitStyleProperty: aProperty
-
A style property gets visited.
|