T - the BasicViewSetup typepublic class XmlIoBasicViewSetups<T extends BasicViewSetup> extends XmlIoEntityMap<T>
BasicViewSetup subclass as
an XML section. Each BasicViewSetup contains a set of
attributes. All occurring attributes
types are collected. For each attribute type, an <
> section is added as a child, containing
all values of the attribute type that occur.handledTags| Constructor and Description |
|---|
XmlIoBasicViewSetups(Class<T> klass) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<Integer,T> |
fromXml(org.jdom2.Element elem)
Create an object from the given element.
|
org.jdom2.Element |
toXml(Collection<T> setups)
Add the values to a new
XmlIoSingleton.getTag() element (in the iteration order of the collection). |
toXmlgetTag, toXmlpublic org.jdom2.Element toXml(Collection<T> setups) throws SpimDataException
XmlIoEntityMapXmlIoSingleton.getTag() element (in the iteration order of the collection).toXml in class XmlIoEntityMap<T extends BasicViewSetup>SpimDataExceptionpublic HashMap<Integer,T> fromXml(org.jdom2.Element elem) throws SpimDataException
XmlIoSingletoncreated.
Calling this method clears all unhandled content from previous
invocations.fromXml in class XmlIoEntityMap<T extends BasicViewSetup>SpimDataExceptionCopyright © 2015–2021 Fiji. All rights reserved.