Package loci.formats.in
Class LeicaHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
loci.common.xml.BaseHandler
loci.formats.in.LeicaHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class LeicaHandler
extends loci.common.xml.BaseHandler
SAX handler for parsing XML in Leica LIF and Leica TCS files.
- Author:
- Melissa Linkert melissa at glencoesoftware.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) class(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate Map<String, LeicaHandler.Channel> private Stringprivate List<CoreMetadata> private intprivate intprivate List<LeicaHandler.Detector> private Stringprivate intprivate longprivate Hashtableprivate intprivate List<LeicaHandler.Laser> private MetadataLevelprivate booleanprivate static final org.slf4j.LoggerLogger for this class.private List<LeicaHandler.MultiBand> private intprivate intprivate intprivate intprivate intprivate doubleprivate doubleprivate Doubleprivate LeicaHandler.ROIprivate booleanprivate MetadataStoreprivate List<ome.units.quantity.Length> private List<ome.units.quantity.Length> private Doubleprivate List<ome.units.quantity.Length> -
Constructor Summary
ConstructorsConstructorDescriptionLeicaHandler(MetadataStore store, MetadataLevel level) LeicaHandler(MetadataStore store, MetadataLevel level, boolean planesInStore) -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) private HashtablegetSeriesHashtable(int series) private doubleparseDouble(String number) voidstartElement(String uri, String localName, String qName, Attributes attributes) private voidstoreKeyValue(Hashtable h, String key, String value) private voidstoreSeriesHashtable(int series, Hashtable h) Methods inherited from class loci.common.xml.BaseHandler
resolveEntityMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGERLogger for this class. -
nameStack
-
elementName
-
collection
-
count
private int count -
numChannels
private int numChannels -
extras
private int extras -
lutNames
-
xPos
-
yPos
-
zPos
-
physicalSizeX
private double physicalSizeX -
physicalSizeY
private double physicalSizeY -
numDatasets
private int numDatasets -
globalMetadata
-
store
-
nextChannel
private int nextChannel -
zoom
-
pinhole
-
nextFilter
private int nextFilter -
nextROI
private int nextROI -
roi
-
alternateCenter
private boolean alternateCenter -
linkedInstruments
private boolean linkedInstruments -
detectorChannel
private int detectorChannel -
core
-
canParse
private boolean canParse -
firstStamp
private long firstStamp -
bytesPerAxis
-
multiBands
-
detectors
-
lasers
-
channels
-
level
-
laserCount
private int laserCount -
setPlaneMetadataInStore
private boolean setPlaneMetadataInStore -
exposureTimes
-
deltaT
-
-
Constructor Details
-
LeicaHandler
-
LeicaHandler
-
-
Method Details
-
getCoreMetadataList
-
getGlobalMetadata
-
getLutNames
-
getExposureTimes
-
getDeltaT
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
getSeriesHashtable
-
storeSeriesHashtable
-
parseDouble
-
storeKeyValue
-