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
public class ND2Handler
extends loci.common.xml.BaseHandler
DefaultHandler implementation for handling XML produced by Nikon Elements.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionND2Handler(loci.formats.CoreMetadataList core, boolean populateXY, int nImages) ND2Handler(loci.formats.CoreMetadataList core, int nImages) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidendElement(String uri, String localName, String qName, Attributes attributes) loci.formats.CoreMetadataListgetDate()intgetGains()doubledoubledoublegetROIs()intintArrayList<ome.units.quantity.Length>ArrayList<ome.units.quantity.Length>ArrayList<ome.units.quantity.Length>booleanisDimensions(String key) Returns whether or not the specified key is denotes dimensions.booleanvoidparseKeyAndValue(String key, String value, String runtype) voidpopulateROIs(loci.formats.meta.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
public ND2Handler(loci.formats.CoreMetadataList core, int nImages) -
ND2Handler
public ND2Handler(loci.formats.CoreMetadataList core, boolean populateXY, int nImages)
-
-
Method Details
-
getXFields
public int getXFields() -
getCoreMetadataList
public loci.formats.CoreMetadataList getCoreMetadataList() -
populateROIs
public void populateROIs(loci.formats.meta.MetadataStore store) -
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.
-