eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XMLStandardDecoder::AbstractConverter':

Home

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

Class: AbstractConverter (private in XMLStandardDecoder

This class is only visible from within XMLStandardDecoder.

Inheritance:

   Object
   |
   +--XMLStandardDecoder::AbstractConverter
      |
      +--XMLStandardDecoder::Base64Converter
      |
      +--XMLStandardDecoder::CharacterConverter
      |
      +--XMLStandardDecoder::ContainedObject
      |
      +--XMLStandardDecoder::NumberConverter
      |
      +--XMLStandardDecoder::StringConverter
      |
      +--XMLStandardDecoder::SymbolConverter

Package:
stx:goodies/xml/stx
Category:
XML-Presentation
Owner:
XMLStandardDecoder
Author:
Stefan Vogel (stefan@zwerg)

Description:


Converters are used to convert the xml text representation to objects.
The attributes needed to create the object are known, when the start tag is
processed, the xml text is known, when the end tag is read.



[instance variables:]
    id                                      The unique id of the object in the
                                            xml document (used to detect references)
    storeSpecification  (Integer|Symbol)    The index or name of the object in the
                                            parent Object.
    elementClass        (Class|nil)         The class of the element. Nil if default
                                            class specified by converter.

[class variables:]


Related information:



Instance protocol:

accessing
o  elementClass

o  elementClass: something

o  id
return the value of the instance variable 'id' (automatically generated)

o  id: idArg storeSpecification: storeSpecificationArg
set instance variables (automatically generated)

o  storeSpecification
return the value of the instance variable 'storeSpecification' (automatically generated)

converting
o  convertText: aString
convert the text to the internal smalltalk representation

** This method raises an error - it must be redefined in concrete classes **

testing
o  isContainedObject
answer true, if i already know the final object



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 10 Aug 2022 10:34:40 GMT