Package loci.formats.in
Class ND2Handler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
loci.common.xml.BaseHandler
loci.formats.in.ND2Handler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
DefaultHandler implementation for handling XML produced by Nikon Elements.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionND2Handler(CoreMetadataList core, boolean populateXY, int nImages) ND2Handler(CoreMetadataList core, int nImages) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendElement(String uri, String localName, String qName, Attributes attributes) getDate()intgetGains()doubledoubledoublegetROIs()intintbooleanisDimensions(String key) Returns whether or not the specified key is denotes dimensions.booleanvoidparseKeyAndValue(String key, String value, String runtype) voidpopulateROIs(MetadataStore store) voidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class loci.common.xml.BaseHandler
resolveEntityMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endElement, 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
-
imageMetadataLVExists
public boolean imageMetadataLVExists
-
-
Constructor Details
-
ND2Handler
-
ND2Handler
-
-
Method Details
-
getXFields
public int getXFields() -
getCoreMetadataList
-
populateROIs
-
getDate
-
getMetadata
-
getSeriesCount
public int getSeriesCount() -
isLossless
public boolean isLossless() -
getZSections
-
getTimepoints
-
getPixelSizeX
public double getPixelSizeX() -
getPixelSizeY
public double getPixelSizeY() -
getPixelSizeZ
public double getPixelSizeZ() -
getPinholeSize
-
getVoltage
-
getMagnification
-
getNumericalAperture
-
getObjectiveModel
-
getImmersion
-
getCorrection
-
getRefractiveIndex
-
getChannelNames
-
getModalities
-
getBinnings
-
getSpeeds
-
getGains
-
getTemperatures
-
getExposureTimes
-
getExcitationWavelengths
-
getEmissionWavelengths
-
getPowers
-
getROIs
-
getXPositions
-
getYPositions
-
getZPositions
-
getPositionNames
-
getCameraModel
-
getFieldIndex
public int getFieldIndex() -
getChannelColors
-
endElement
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
endDocument
public void endDocument()- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler
-
parseKeyAndValue
-
isDimensions
Returns whether or not the specified key is denotes dimensions. Full versions of Elements allow the user to choose a language, though it's not clear what all of the choices are. Most keys are always recorded in English, but some are recorded in the language specified by the user.
-