Package psidev.psi.mi.jami.xml.model
Class AbstractBaseEntry.AbstractJAXBInteractionsWrapper<T>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.AbstractBaseEntry.AbstractJAXBInteractionsWrapper<T>
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable,FileSourceContext
- Direct Known Subclasses:
AbstractEntry.JAXBInteractionsWrapper,AbstractEntry.JAXBInteractionsWrapper,AbstractEntry.JAXBInteractionsWrapper
- Enclosing class:
- AbstractBaseEntry<T extends Interaction>
public abstract static class AbstractBaseEntry.AbstractJAXBInteractionsWrapper<T> extends Object implements com.sun.xml.bind.Locatable, FileSourceContext
-
-
Constructor Summary
Constructors Constructor Description AbstractJAXBInteractionsWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>getJAXBInteractions()FileSourceLocatorgetSourceLocator()The locator of a position in a file.protected voidinitialiseInteractions()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
-
initialiseInteractions
protected void initialiseInteractions()
-
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
-
-