Class AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I extends Interaction,F extends Feature,P extends ParticipantCandidate>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml300.AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I,F,P>
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
- Direct Known Subclasses:
XmlModelledParticipant.JAXBInteractorCandidatesWrapper
,XmlParticipantEvidence.JAXBInteractorCandidatesWrapper
- Enclosing class:
- AbstractXmlParticipant<I extends Interaction,F extends Feature>
public static class AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I extends Interaction,F extends Feature,P extends ParticipantCandidate> extends Object implements com.sun.xml.bind.Locatable, FileSourceContext
-
-
Constructor Summary
Constructors Constructor Description JAXBInteractorCandidateWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<P>
getCandidates()
FileSourceLocator
getSourceLocator()
The locator of a position in a file.protected void
initialisePool()
void
setJAXBType(XmlCvTerm type)
protected void
setPool(AbstractXmlParticipantPool<I,F,P> pool)
void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorLocator
sourceLocation()
String
toString()
toString
-
-
-
Method Detail
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Description copied from interface:FileSourceContext
The locator of a position in a file. It can be null- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- the file locator
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Description copied from interface:FileSourceContext
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
initialisePool
protected void initialisePool()
-
setPool
protected void setPool(AbstractXmlParticipantPool<I,F,P> pool)
-
setJAXBType
public void setJAXBType(XmlCvTerm type)
-
getCandidates
public Collection<P> getCandidates()
-
toString
public String toString()
Description copied from interface:FileSourceContext
toString
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classObject
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-