public class XmlIoBasicViewSetup<T extends BasicViewSetup> extends XmlIoEntity<T>
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,HashMap<Integer,? extends Entity>> |
attributeMap
Maps attribute tag name to map from id to entity.
|
handledTags| Constructor and Description |
|---|
XmlIoBasicViewSetup(Class<T> klass) |
| Modifier and Type | Method and Description |
|---|---|
T |
fromXml(org.jdom2.Element elem)
Create an object from the given element.
|
protected static VoxelDimensions |
getVoxelDimensions(org.jdom2.Element parent,
String name) |
protected static VoxelDimensions |
getVoxelDimensions(org.jdom2.Element parent,
String name,
VoxelDimensions defaultValue) |
void |
setAttributeMap(HashMap<String,HashMap<Integer,? extends Entity>> attributeMap)
Set the attribute map.
|
org.jdom2.Element |
toXml(T setup)
Create an XML element from the given object.
|
protected static org.jdom2.Element |
voxelDimensionsElement(String name,
VoxelDimensions voxelSize) |
getEntityClass, getTagpublic void setAttributeMap(HashMap<String,HashMap<Integer,? extends Entity>> attributeMap)
XmlIoEntity.getTag()) maps to a map from channel id to
Channel.public org.jdom2.Element toXml(T setup)
XmlIoEntitytoXml in class XmlIoEntity<T extends BasicViewSetup>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 BasicViewSetup>SpimDataExceptionprotected static org.jdom2.Element voxelDimensionsElement(String name, VoxelDimensions voxelSize)
protected static VoxelDimensions getVoxelDimensions(org.jdom2.Element parent, String name)
protected static VoxelDimensions getVoxelDimensions(org.jdom2.Element parent, String name, VoxelDimensions defaultValue)
Copyright © 2015–2021 Fiji. All rights reserved.