Class XmlEntryContext


  • public class XmlEntryContext
    extends Object
    The xml entry context is a context threadlocal that will be valid for the whole xml entry but will be cleared after each entry in the entrySet
    Since:
    26/07/13
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Method Detail

      • remove

        public static void remove()

        remove.

      • clear

        public void clear()

        clear.

      • setInteractorFactory

        public void setInteractorFactory​(XmlInteractorFactory interactorFactory)

        Setter for the field interactorFactory.

        Parameters:
        interactorFactory - a XmlInteractorFactory object.
      • getCurrentEntry

        public Entry getCurrentEntry()

        Getter for the field currentEntry.

        Returns:
        a Entry object.
      • setCurrentSource

        public void setCurrentSource​(Entry entry)

        setCurrentSource.

        Parameters:
        entry - a Entry object.
      • setElementCache

        public void setElementCache​(PsiXmlIdCache elementCache)

        Setter for the field elementCache.

        Parameters:
        elementCache - a PsiXmlIdCache object.
      • registerExperiment

        public void registerExperiment​(int id,
                                       Experiment o)

        registerExperiment.

        Parameters:
        id - a int.
        o - a Experiment object.
      • registerInteractor

        public void registerInteractor​(int id,
                                       Interactor o)

        registerInteractor.

        Parameters:
        id - a int.
        o - a Interactor object.
      • registerInteraction

        public void registerInteraction​(int id,
                                        Interaction o)

        registerInteraction.

        Parameters:
        id - a int.
        o - a Interaction object.
      • registerParticipant

        public void registerParticipant​(int id,
                                        Entity o)

        registerParticipant.

        Parameters:
        id - a int.
        o - a Entity object.
      • registerFeature

        public void registerFeature​(int id,
                                    Feature o)

        registerFeature.

        Parameters:
        id - a int.
        o - a Feature object.
      • registerComplexParticipant

        public void registerComplexParticipant​(int id,
                                               ModelledEntity o)

        registerComplexParticipant.

        Parameters:
        id - a int.
        o - a ModelledEntity object.
      • registerComplexFeature

        public void registerComplexFeature​(int id,
                                           ModelledFeature o)

        registerComplexFeature.

        Parameters:
        id - a int.
        o - a ModelledFeature object.
      • registerComplex

        public void registerComplex​(int id,
                                    Complex o)

        registerComplex.

        Parameters:
        id - a int.
        o - a Complex object.
      • registerBindingFeature

        public void registerBindingFeature​(BindingFeatures infer)

        registerBindingFeature.

        Parameters:
        infer - a BindingFeatures object.
      • hasInferredInteractions

        public boolean hasInferredInteractions()

        hasInferredInteractions.

        Returns:
        a boolean.
      • hasUnresolvedReferences

        public boolean hasUnresolvedReferences()

        hasUnresolvedReferences.

        Returns:
        a boolean.
      • initialiseInferredInteractionList

        public void initialiseInferredInteractionList()

        initialiseInferredInteractionList.

      • initialiseReferencesList

        public void initialiseReferencesList()

        initialiseReferencesList.

      • resolveInteractorAndExperimentRefs

        public void resolveInteractorAndExperimentRefs()

        resolveInteractorAndExperimentRefs.

      • resolveInferredInteractionRefs

        public void resolveInferredInteractionRefs()

        resolveInferredInteractionRefs.