public class XmlIoAbstractSpimData<S extends AbstractSequenceDescription<?,?,?>,T extends AbstractSpimData<S>> extends XmlIoSingleton<T>
handledTags| Constructor and Description |
|---|
XmlIoAbstractSpimData(Class<T> klass,
XmlIoAbstractSequenceDescription<?,S> xmlIoSequenceDescription,
XmlIoViewRegistrations xmlIoViewRegistrations) |
| Modifier and Type | Method and Description |
|---|---|
T |
fromXml(org.jdom2.Element root,
File xmlFile)
TODO
|
String |
getVersion(org.jdom2.Element root)
TODO
|
T |
load(String xmlFilename) |
protected File |
loadBasePath(org.jdom2.Element root,
File xmlFile) |
void |
save(T spimData,
String xmlFilename) |
org.jdom2.Element |
toXml(T spimData,
File xmlFileDirectory)
TODO
|
fromXml, getTag, toXmlpublic XmlIoAbstractSpimData(Class<T> klass, XmlIoAbstractSequenceDescription<?,S> xmlIoSequenceDescription, XmlIoViewRegistrations xmlIoViewRegistrations)
public T load(String xmlFilename) throws SpimDataException
SpimDataExceptionpublic void save(T spimData, String xmlFilename) throws SpimDataException
SpimDataExceptionpublic String getVersion(org.jdom2.Element root)
root - public T fromXml(org.jdom2.Element root, File xmlFile) throws SpimDataException
root - xmlFile - SpimDataExceptionpublic org.jdom2.Element toXml(T spimData, File xmlFileDirectory) throws SpimDataException
spimData - xmlFileDirectory - SpimDataExceptionCopyright © 2015–2021 Fiji. All rights reserved.