org.biopax.paxtools.controller
Interface Visitor

All Known Implementing Classes:
AbstractTraverser, Cloner, Completer, Fetcher, Merger, PropertyReasoner, ShallowCopy

public interface Visitor

Basic visitor interface for classes using Traverser.


Method Summary
 void visit(BioPAXElement domain, java.lang.Object range, Model model, PropertyEditor editor)
          An implementation of this method should perform a BioPAX element and editor dependent operation on the model.
 

Method Detail

visit

void visit(BioPAXElement domain,
           java.lang.Object range,
           Model model,
           PropertyEditor editor)
An implementation of this method should perform a BioPAX element and editor dependent operation on the model. Examples of uses of this method include adding a BioPAX element--with all its dependent elements that can be reached via the editor--into the model, or updating an element that is equivalent to the given BioPAX element using the latter's/former's values.

Parameters:
domain - BioPAXElement which is the domain of this property
range - Object which is the range of this property
model - model on which the visiting operation will be done
editor - editor


Copyright © 2011 BioPAX. All Rights Reserved.