Codota Logo
DefaultTraverser.traverseCvObject
Code IndexAdd Codota to your IDE (free)

How to use
traverseCvObject
method
in
uk.ac.ebi.intact.model.visitor.DefaultTraverser

Best Java code snippets using uk.ac.ebi.intact.model.visitor.DefaultTraverser.traverseCvObject (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.core/intact-core

protected void traverseAnnotatedObject(AnnotatedObject annotatedObject, IntactVisitor... visitors) {
  if (annotatedObject == null) return;
  for (IntactVisitor visitor : visitors) {
    visitor.visitAnnotatedObject(annotatedObject);
  }
  if (annotatedObject instanceof Interaction) {
    traverseInteraction((Interaction) annotatedObject, visitors);
  } else if (annotatedObject instanceof Interactor) {
    traverseInteractor((Interactor) annotatedObject, visitors);
  } else if (annotatedObject instanceof CvObject) {
    traverseCvObject((CvObject) annotatedObject, visitors);
  } else if (annotatedObject instanceof Experiment) {
    traverseExperiment((Experiment) annotatedObject, visitors);
  } else if (annotatedObject instanceof Component) {
    traverseComponent((Component) annotatedObject, visitors);
  } else if (annotatedObject instanceof BioSource) {
    traverseBioSource((BioSource) annotatedObject, visitors);
  } else if (annotatedObject instanceof Feature) {
    traverseFeature((Feature) annotatedObject, visitors);
  } else if (annotatedObject instanceof Publication) {
    traversePublication((Publication) annotatedObject, visitors);
  } else if (annotatedObject instanceof Institution) {
    traverseInstitution((Institution) annotatedObject, visitors);
  } else {
    throw new IllegalArgumentException("Cannot process annotated object of type: " + annotatedObject.getClass().getName());
  }
  traverseAnnotatedObjectCommon(annotatedObject, visitors);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

protected void traverseAnnotatedObject(AnnotatedObject annotatedObject, IntactVisitor... visitors) {
  if (annotatedObject == null) return;
  for (IntactVisitor visitor : visitors) {
    visitor.visitAnnotatedObject(annotatedObject);
  }
  if (annotatedObject instanceof Interaction) {
    traverseInteraction((Interaction) annotatedObject, visitors);
  } else if (annotatedObject instanceof Interactor) {
    traverseInteractor((Interactor) annotatedObject, visitors);
  } else if (annotatedObject instanceof CvObject) {
    traverseCvObject((CvObject) annotatedObject, visitors);
  } else if (annotatedObject instanceof Experiment) {
    traverseExperiment((Experiment) annotatedObject, visitors);
  } else if (annotatedObject instanceof Component) {
    traverseComponent((Component) annotatedObject, visitors);
  } else if (annotatedObject instanceof BioSource) {
    traverseBioSource((BioSource) annotatedObject, visitors);
  } else if (annotatedObject instanceof Feature) {
    traverseFeature((Feature) annotatedObject, visitors);
  } else if (annotatedObject instanceof Publication) {
    traversePublication((Publication) annotatedObject, visitors);
  } else if (annotatedObject instanceof Institution) {
    traverseInstitution((Institution) annotatedObject, visitors);
  } else {
    throw new IllegalArgumentException("Cannot process annotated object of type: " + annotatedObject.getClass().getName());
  }
  traverseAnnotatedObjectCommon(annotatedObject, visitors);
}
uk.ac.ebi.intact.model.visitorDefaultTraversertraverseCvObject

Popular methods of DefaultTraverser

  • traverse
  • <init>
  • getCurrentHierarchyLevel
  • nextHierarchyLevel
  • previousHierarchyLevel
  • traverseAlias
  • traverseAnnotatedObject
  • traverseAnnotatedObjectCommon
  • traverseAnnotation
  • traverseBioSource
  • traverseComponent
  • traverseConfidence
  • traverseComponent,
  • traverseConfidence,
  • traverseExperiment,
  • traverseFeature,
  • traverseInstitution,
  • traverseInteraction,
  • traverseInteractor,
  • traverseParameter,
  • traversePublication

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now