eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::StyleEncoder':

Home

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

Class: StyleEncoder (in HTML)


Inheritance:

   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

Class protocol:

instance creation
o  new
Create a new encoder.
Build the necessary stream.

o  on: aStream
Create an encoder on a stream.


Instance protocol:

accessing
o  indent
Return the indent used while printing.

o  indent: anIndention
Set the indent used while printing.

printing
o  htmlString
Return the html string.
Call this after doing a '#visit:'.

private-accessing
o  setStream: aStream
Set a stream as the stream to print on.
Private - Use only for instance creation.

private-printing
o  printProperties: aStyleElement
Print the property-list of a style element onto the stream.
The properties are enclosed in curly-brackets.

o  printProperty: aProperty
Print one property, that could be a string, too.

o  printPropertyValue: aProperty
Print one property value on the stream.

o  printPropertyValues: aProperty
Print a list of propery-values on the stream.

o  printSelectors: aStyleElement
The selector-list of a style element gets printed.
The list is comma-separated.

o  printString: aString
Print a string being included as element.

o  printStyleElement: aStyleElement
Print a style element.

o  printStyleProperty: aProperty
Print a style property.

required-visiting
o  visitString: aString
A string gets visited.

o  visitStyleElement: aStyleElement
A style element gets visited.

o  visitStyleProperty: aProperty
A style property gets visited.



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