Class AbstractXmlParticipant.JAXBInteractorCandidateWrapper<I extends Interaction,F extends Feature,P extends ParticipantCandidate>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.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()FileSourceLocatorgetSourceLocator()The locator of a position in a file.protected voidinitialisePool()voidsetJAXBType(XmlCvTerm type)protected voidsetPool(AbstractXmlParticipantPool<I,F,P> pool)voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorLocatorsourceLocation()StringtoString()toString
-
-
-
Method Detail
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfacecom.sun.xml.bind.Locatable
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Description copied from interface:FileSourceContextThe locator of a position in a file. It can be null- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- the file locator
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Description copied from interface:FileSourceContextSets the source locator- Specified by:
setSourceLocatorin 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:FileSourceContexttoString
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classObject- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-