Package org.biopax.paxtools.controller
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 TypeMethodDescriptionvoidvisit(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
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 propertyrange- Object which is the range of this propertymodel- model on which the visiting operation will be doneeditor- editor
-