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, getTag
public 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)
XmlIoEntity
toXml
in class XmlIoEntity<T extends BasicViewSetup>
public T fromXml(org.jdom2.Element elem) throws SpimDataException
XmlIoEntity
id
and added to any XML element created
for that
id.fromXml
in class XmlIoEntity<T extends BasicViewSetup>
SpimDataException
protected 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.