Codota Logo
Feature2xmlPSI2
Code IndexAdd Codota to your IDE (free)

How to use
Feature2xmlPSI2
in
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2.Feature2xmlPSI2 (Showing top 18 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.util/data-conversion

public Element createDNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, DNA_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.app/data-conversion

createNames( session, element, feature );
createFeatureXrefs( session, element, feature );
origin: uk.ac.ebi.intact.app/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Feature2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Feature2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Feature2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Feature2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.app/data-conversion

f2xml.createProteinFeatureReference( session, participantElement, feature );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

createNames( session, element, feature );
createFeatureXrefs( session, element, feature );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Feature2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Feature2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Feature2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Feature2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.util/data-conversion

f2xml.createProteinFeatureReference( session, participantElement, feature );
origin: uk.ac.ebi.intact.util/data-conversion

createNames( session, element, feature );
createFeatureXrefs( session, element, feature );
origin: uk.ac.ebi.intact.util/data-conversion

public Element createRNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, RNA_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.util/data-conversion

  /**
   * Gives the right version of the Psi XML generator according to the user's session
   *
   * @param session the user session that will indicate which version of the Psi generator is required
   *
   * @return
   */
  public static Feature2xmlI getInstance( UserSessionDownload session ) {

    if ( session.getPsiVersion().equals( PsiVersion.VERSION_1 ) ) {

      return Feature2xmlPSI1.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_2 ) ) {

      return Feature2xmlPSI2.getInstance();

    } else if ( session.getPsiVersion().equals( PsiVersion.VERSION_25 ) ) {

      return Feature2xmlPSI25.getInstance();

    } else {

      throw new IllegalStateException( "We do not support PSI version " + session.getPsiVersion() );
    }
  }
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

f2xml.createProteinFeatureReference( session, participantElement, feature );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public Element createRNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, RNA_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.app/data-conversion

public Element createProteinFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, PROTEIN_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.app/data-conversion

public Element createDNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, DNA_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public Element createProteinFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, PROTEIN_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.app/data-conversion

public Element createRNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, RNA_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.util/data-conversion

public Element createProteinFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, PROTEIN_FEATURE_REF_TAG_NAME );
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

public Element createDNAFeatureReference( UserSessionDownload session, Element parent, Feature feature ) {
  // TODO test that.
  return createReference( session, parent, feature, DNA_FEATURE_REF_TAG_NAME );
}
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2Feature2xmlPSI2

Javadoc

Process the common behaviour of an IntAct Experiment when exporting PSI version 2.

Most used methods

  • createFeatureXrefs
    Generate and add to the given element the Xrefs of the feature.
  • createNames
  • createProteinFeatureReference
  • createReference
  • getInstance

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Collectors (java.util.stream)
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
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