Interface Visitor

All Known Implementing Classes:
AbstractTraverser, Cloner, Completer, LevelUpgrader, Merger, ShallowCopy

public interface Visitor
Basic visitor interface for classes using Traverser.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(BioPAXElement domain, Object range, Model model, PropertyEditor<?,?> editor)
    An implementation of this method should perform a BioPAX element and editor dependent operation on the model.
  • Method Details

    • visit

      void visit(BioPAXElement domain, 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