Class AbstractXmlInteraction.JAXBAttributeWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlInteraction.JAXBAttributeWrapper
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
- Enclosing class:
- AbstractXmlInteraction<T extends Participant>
public static class AbstractXmlInteraction.JAXBAttributeWrapper extends Object implements com.sun.xml.bind.Locatable, FileSourceContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
AbstractXmlInteraction.JAXBAttributeWrapper.JAXBAttributeList
-
Constructor Summary
Constructors Constructor Description JAXBAttributeWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Annotation>
getAnnotations()
List<Annotation>
getJAXBAttributes()
FileSourceLocator
getSourceLocator()
The locator of a position in a file.protected void
initialiseAnnotations()
protected void
initialiseAnnotationsWith(List<Annotation> annots)
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
-
initialiseAnnotations
protected void initialiseAnnotations()
-
initialiseAnnotationsWith
protected void initialiseAnnotationsWith(List<Annotation> annots)
-
getAnnotations
protected List<Annotation> getAnnotations()
-
getJAXBAttributes
public List<Annotation> getJAXBAttributes()
-
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
-
-