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.3 date: 2023/05/26 11:50:52
user: cg
file: AspectVisitor.st directory: libbasic
module: stx stc-classLibrary: libbasic

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:]

copyright

COPYRIGHT (c) 2002 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 30 Dec 2024 18:12:01 GMT