T - the NamedEntity typepublic class XmlIoNamedEntity<T extends NamedEntity> extends XmlIoEntity<T>
XmlIoEntity for NamedEntity that also handles <>handledTags| Constructor and Description |
|---|
XmlIoNamedEntity(String tag,
Class<T> klass) |
| Modifier and Type | Method and Description |
|---|---|
T |
fromXml(org.jdom2.Element elem)
Create an object from the given element.
|
org.jdom2.Element |
toXml(T entity)
Create an XML element from the given object.
|
getEntityClass, getTagpublic org.jdom2.Element toXml(T entity)
XmlIoEntitytoXml in class XmlIoEntity<T extends NamedEntity>public T fromXml(org.jdom2.Element elem) throws SpimDataException
XmlIoEntityid and added to any XML element created for that
id.fromXml in class XmlIoEntity<T extends NamedEntity>SpimDataExceptionCopyright © 2015–2021 Fiji. All rights reserved.