public class MetamorphHandler
extends loci.common.xml.BaseHandler
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
binning |
private java.lang.String |
channelName |
private java.util.Vector<java.lang.String> |
channelNames |
private java.lang.String |
date |
private boolean |
dualCamera |
private java.util.Vector<java.lang.Double> |
exposures |
private java.lang.Double |
gain |
private java.lang.String |
imageName |
private double |
lensNA |
private double |
lensRI |
private java.util.Hashtable |
metadata |
private double |
pixelSizeX |
private double |
pixelSizeY |
private ome.units.quantity.Length |
positionX |
private ome.units.quantity.Length |
positionY |
private double |
readOutRate |
private java.lang.String |
stageLabel |
private double |
temperature |
private java.util.Vector<java.lang.String> |
timestamps |
private java.util.Vector<java.lang.Integer> |
wavelengths |
private double |
zoom |
private java.util.Vector<java.lang.Double> |
zPositions |
Constructor and Description |
---|
MetamorphHandler() |
MetamorphHandler(java.util.Hashtable metadata) |
Modifier and Type | Method and Description |
---|---|
private void |
checkKey(java.lang.String key,
java.lang.String value)
Check if the value needs to be saved.
|
java.lang.String |
getBinning() |
java.lang.String |
getChannelName() |
java.util.Vector<java.lang.String> |
getChannelNames() |
java.lang.String |
getDate() |
java.util.Vector<java.lang.Double> |
getExposures() |
java.lang.Double |
getGain() |
java.lang.String |
getImageName() |
double |
getLensNA() |
double |
getLensRI() |
double |
getPixelSizeX() |
double |
getPixelSizeY() |
double |
getReadOutRate() |
java.lang.String |
getStageLabel() |
ome.units.quantity.Length |
getStagePositionX() |
ome.units.quantity.Length |
getStagePositionY() |
double |
getTemperature() |
java.util.Vector<java.lang.String> |
getTimestamps() |
java.util.Vector<java.lang.Integer> |
getWavelengths() |
double |
getZoom() |
java.util.Vector<java.lang.Double> |
getZPositions() |
boolean |
hasDualCamera() |
private java.lang.Double |
parseDouble(java.lang.String v)
Remove '+' before parsing doubles.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
private java.util.Hashtable metadata
private java.util.Vector<java.lang.String> timestamps
private java.lang.String imageName
private java.lang.String date
private java.util.Vector<java.lang.Integer> wavelengths
private java.util.Vector<java.lang.Double> zPositions
private double pixelSizeX
private double pixelSizeY
private double temperature
private double lensNA
private double lensRI
private java.lang.String binning
private double readOutRate
private double zoom
private ome.units.quantity.Length positionX
private ome.units.quantity.Length positionY
private java.util.Vector<java.lang.Double> exposures
private java.lang.String channelName
private java.util.Vector<java.lang.String> channelNames
private java.lang.String stageLabel
private java.lang.Double gain
private boolean dualCamera
public MetamorphHandler()
public MetamorphHandler(java.util.Hashtable metadata)
public java.lang.Double getGain()
public java.lang.String getChannelName()
public java.util.Vector<java.lang.String> getChannelNames()
public java.lang.String getStageLabel()
public java.util.Vector<java.lang.String> getTimestamps()
public java.util.Vector<java.lang.Integer> getWavelengths()
public java.util.Vector<java.lang.Double> getZPositions()
public java.lang.String getDate()
public java.lang.String getImageName()
public double getPixelSizeX()
public double getPixelSizeY()
public double getTemperature()
public java.lang.String getBinning()
public double getReadOutRate()
public double getZoom()
public ome.units.quantity.Length getStagePositionX()
public ome.units.quantity.Length getStagePositionY()
public double getLensNA()
public double getLensRI()
public java.util.Vector<java.lang.Double> getExposures()
public boolean hasDualCamera()
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
private void checkKey(java.lang.String key, java.lang.String value)
private java.lang.Double parseDouble(java.lang.String v)
Copyright © 2022 Open Microscopy Environment