Packagevegas.utils.visitors
Classpublic class CoreVisitable
InheritanceCoreVisitable Inheritance Object
Implements Visitable

The abstract representation of the Visitable interface. To implements a Visitor pattern you must inspired your Visitor classes with this interface. This Abstract class is a basical implementation of the Visitor pattern, you can inspirate your custom Visitor design pattern implementation with it easy representation.



Public Methods
 MethodDefined By
  
Creates a new CoreVisitable instance.
CoreVisitable
  
accept(visitor:Visitor):void
Accept a Visitor object.
CoreVisitable
Constructor Detail
CoreVisitable()Constructor
public function CoreVisitable()

Creates a new CoreVisitable instance.

Method Detail
accept()method
public function accept(visitor:Visitor):void

Accept a Visitor object. You can overrides this method in complex Visitor pattern implementation.

Parameters

visitor:Visitor