eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XMLStandardDecoder::AbstractConverter':

Home

everywhere
www.exept.de
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 documnet (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 6.1.1; WebServer 1.620 at exept:8081; Tue, 22 May 2012 23:24:36 GMT