eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'XML::SourceNodeBuilder':

Home

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

Class: SourceNodeBuilder (in XML)


Inheritance:

   Object
   |
   +--XML::XMLNodeBuilder
      |
      +--XML::SourceNodeBuilder

Package:
stx:goodies/xml/vw
Category:
XML-VW-Source Code
Version:
rev: 1.22 date: 2023/09/07 21:44:49
user: stefan
file: SourceNodeBuilder.st directory: goodies/xml/vw
module: stx stc-classLibrary: vw

Description:


This subclass of XMLNodeBuilder is used by the XML parser to distill a VisualWorks XML source document (stream) into first XML elements and then into valid Smalltalk objects

Instance Variables:
	selectors       <Dictionary>  map from tag name to accessing selector


Instance protocol:

building
o  attribute: name value: value

o  comment: aText

o  makeText: text

o  notation: name value: val

o  tag: tag attributes: attributes elements: elements position: p stream: stream

compiling
o  compile: element

o  compile_class: anElement
env == nil ifTrue: [env := #{Smalltalk} ].

o  compile_comment: anElement

o  compile_do_it: anElement

o  compile_initialize: anElement

o  compile_methods: anElement

o  compile_name_space: anElement

o  compile_relocate: anElement

o  compile_remove: anElement

o  compile_remove_selector: anElement

o  compile_rename: anElement

o  compile_reorganize: anElement

o  compile_reorganize_data: anElement

o  compile_st_source: anElement
Do nothing

o  compile_static: anElement
env == nil ifTrue: [env := #{Smalltalk} ].

o  compile_time_stamp: anElement
Do nothing

initialization
o  initialize

private
o  dictionaryFrom: node to: dict
Over time, we may want to accomodate more complex
annotations for a class.

o  getBoolean: tag from: element default: defaultValue

o  getDictionary: tag from: element

o  getGlobal: possibleTags from: element

o  getGlobalId: tag from: element

o  getNameSpaceId: tag from: element

o  getString: tag from: element default: defaultValue

o  getSymbol: tag from: element

o  getSymbol: tag from: element default: defaultValue

o  selectorFor: aTag



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 14 Oct 2024 01:25:27 GMT