org.biopax.paxtools.controller
Class Completer
java.lang.Object
org.biopax.paxtools.controller.Completer
- All Implemented Interfaces:
- Visitor
public class Completer
- extends java.lang.Object
- implements Visitor
This class is used for getting a valid subgraph from a set of BioPAX elements. For instance, if a
BioPAX graph contains a complex with some members, but the subgraph contains the same complex
without the members, then it is not valid. Similarly, an interaction is only valid with its
participants; however, including its controls is optional.
- Author:
- Ozgun Babur
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
traverser
protected TraverserBilinked traverser
Completer
public Completer(EditorMap map)
complete
public java.util.Set<BioPAXElement> complete(java.util.Collection<BioPAXElement> elements,
Model model)
visit
public void visit(BioPAXElement domain,
java.lang.Object range,
Model model,
PropertyEditor editor)
- Description copied from interface:
Visitor
- 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.
- Specified by:
visit in interface Visitor
- 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
Copyright © 2011 BioPAX. All Rights Reserved.