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 must be redefined in concrete classes (subclassResponsibility) **

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



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 10 Dec 2024 20:12:06 GMT