Class AbstractXmlFeature.JAXBRangeWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml253.AbstractXmlFeature.JAXBRangeWrapper
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
- Enclosing class:
- AbstractXmlFeature<P extends Entity,F extends Feature>
public static class AbstractXmlFeature.JAXBRangeWrapper extends Object implements com.sun.xml.bind.Locatable, FileSourceContext
-
-
Constructor Summary
Constructors Constructor Description JAXBRangeWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Range>
getJAXBRanges()
FileSourceLocator
getSourceLocator()
The locator of a position in a file.protected void
initialiseRanges()
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
-
initialiseRanges
protected void initialiseRanges()
-
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
-
-