Tabnine Logo
Component2xmlPSI2
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element = createProteinExperimentalForm( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
origin: uk.ac.ebi.intact.util/data-conversion

element = createProteinParticipant( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
origin: uk.ac.ebi.intact.util/data-conversion

CvFeatureType parent = (CvFeatureType) iterator.next();
if ( isTaggedFeature( parent ) ) {
  return true;
origin: uk.ac.ebi.intact.app/data-conversion

proteinParticipantRef.setAttribute( "ref", getParticipantId( session, component ) );
proteinExperimentalFormElement.appendChild( proteinParticipantRef );
boolean isTagged = isTaggedFeature( feature.getCvFeatureType() );
Element isTaggedElement = session.createElement( "isTagged" );
Text isTaggedText = session.createTextNode( ( isTagged ? "true" : "false" ) );
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 Component2xmlI getInstance( UserSessionDownload session ) {

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

      return Component2xmlPSI1.getInstance();

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

      return Component2xmlPSI2.getInstance();

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

      return Component2xmlPSI25.getInstance();

    } else {

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

c2psi.createExperimentalForm( session, experimentalFormListElement, component );
origin: uk.ac.ebi.intact.util/data-conversion

proteinParticipantRef.setAttribute( "ref", getParticipantId( session, component ) );
proteinExperimentalFormElement.appendChild( proteinParticipantRef );
boolean isTagged = isTaggedFeature( feature.getCvFeatureType() );
Element isTaggedElement = session.createElement( "isTagged" );
Text isTaggedText = session.createTextNode( ( isTagged ? "true" : "false" ) );
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 Component2xmlI getInstance( UserSessionDownload session ) {

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

      return Component2xmlPSI1.getInstance();

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

      return Component2xmlPSI2.getInstance();

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

      return Component2xmlPSI25.getInstance();

    } else {

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

c2psi.createExperimentalForm( session, experimentalFormListElement, component );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

proteinParticipantRef.setAttribute( "ref", getParticipantId( session, component ) );
proteinExperimentalFormElement.appendChild( proteinParticipantRef );
boolean isTagged = isTaggedFeature( feature.getCvFeatureType() );
Element isTaggedElement = session.createElement( "isTagged" );
Text isTaggedText = session.createTextNode( ( isTagged ? "true" : "false" ) );
origin: uk.ac.ebi.intact.app/data-conversion

element = createProteinExperimentalForm( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
origin: uk.ac.ebi.intact.app/data-conversion

element = createProteinParticipant( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
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 Component2xmlI getInstance( UserSessionDownload session ) {

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

      return Component2xmlPSI1.getInstance();

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

      return Component2xmlPSI2.getInstance();

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

      return Component2xmlPSI25.getInstance();

    } else {

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

CvFeatureType parent = (CvFeatureType) iterator.next();
if ( isTaggedFeature( parent ) ) {
  return true;
origin: uk.ac.ebi.intact.app/data-conversion

c2psi.createExperimentalForm( session, experimentalFormListElement, component );
origin: uk.ac.ebi.intact.app/data-conversion

element.setAttribute( "id", getParticipantId( session, component ) );
      isTagged = isTaggedFeature( feature.getCvFeatureType() );
origin: uk.ac.ebi.intact.util/data-conversion

element = createProteinExperimentalForm( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

element = createProteinParticipant( session, parent, component );
element = createSmallMoleculeParticipant( session, parent, component );
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

CvFeatureType parent = (CvFeatureType) iterator.next();
if ( isTaggedFeature( parent ) ) {
  return true;
origin: uk.ac.ebi.intact.util/data-conversion

element.setAttribute( "id", getParticipantId( session, component ) );
      isTagged = isTaggedFeature( feature.getCvFeatureType() );
uk.ac.ebi.intact.application.dataConversion.psiDownload.xmlGenerator.psi2Component2xmlPSI2

Javadoc

Implements the tranformation of an IntAct Component into PSI XML.

Most used methods

  • createExperimentalForm
    Create the experimentalForm corresponding to the participant we are being given the participantId.
  • createProteinExperimentalForm
    Generate the XML content of a proteinParticipant as well as the experimentalForm based on the given
  • createProteinParticipant
    Generate the XMl content of a proteinParticipant as well as the experimentalForm based on the given
  • createSmallMoleculeParticipant
    Generate the XMl content of a SmallMolecule based on the given component.
  • getInstance
  • getParticipantId
    get the value what will be used as ID of the experiment.
  • isTaggedFeature
    Check that the given feature type is a tag.

Popular in Java

  • Reading from database using SQL prepared statement
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • JButton (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now