eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AspectVisitor':

Home

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

Class: AspectVisitor


Inheritance:

   Object
   |
   +--Visitor
      |
      +--AspectVisitor
         |
         +--ObjectCoder

Package:
stx:libbasic
Category:
System-Visiting
Version:
rev: 1.1 date: 2004/06/11 17:55:26
user: stefan
file: AspectVisitor.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Stefan Vogel (stefan@zwerg)

Description:


This is a Visitor that visits only some aspects of an object.


[instance variables:]
    aspect  <Symbol|Object>     something defining the aspect to be visited        

[class variables:]


Related information:



Instance protocol:

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

o  aspect: something
set the value of the instance variable 'aspect' (automatically generated)

helpers
o  aspectElementDescriptorFor: anObject
return association that should be visited for all child objects of anObject.
Return a collection of associations. The association key is the name of the object,
where the association value is the child object

o  visitChildrenOf: anObject
visit all child objects of anObject.
If aspect is defined, perform aspect to fetch the child objects.
Otherwise encode all the instance variables of anObject.

Subclasses may send this message



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 13:37:18 GMT