Class XlifDocument
java.lang.Object
loci.formats.in.LeicaMicrosystemsMetadata.LMSXmlDocument
loci.formats.in.LeicaMicrosystemsMetadata.LMSImageXmlDocument
loci.formats.in.LeicaMicrosystemsMetadata.XlifDocument
This class loads and represents a Leica Microsystems XLIF xml document
- Author:
- Constanze Wendlandt constanze.wendlandt at leica-microsystems.com
-
Nested Class Summary
Nested classes/interfaces inherited from class loci.formats.in.LeicaMicrosystemsMetadata.LMSXmlDocument
LMSXmlDocument.InitFrom -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LMSFileReader.ImageFormatReturns the name of the image (it might be contained in the XML or otherwise e.g.Returns the image node of the xml document which contains image metadatagetName()intReturns the number of tiles referenced by this xlifprivate voidSearches the xml for referenced images and adds image pathsbooleanisValid()voidMethods inherited from class loci.formats.in.LeicaMicrosystemsMetadata.LMSXmlDocument
fileExists, getAttr, GetChildWithName, getDoc, getFilepath, getParentFiles, nodeToString, parseFilePath, toString, xPath, xPath
-
Field Details
-
imageFormat
LMSFileReader.ImageFormat imageFormat -
imagePaths
-
-
Constructor Details
-
XlifDocument
-
-
Method Details
-
getImageFormat
-
getImagePaths
-
getName
-
getElementNode
-
getImageNode
Description copied from class:LMSImageXmlDocumentReturns the image node of the xml document which contains image metadata- Specified by:
getImageNodein classLMSImageXmlDocument
-
getImageName
Description copied from class:LMSImageXmlDocumentReturns the name of the image (it might be contained in the XML or otherwise e.g. in the file name)- Specified by:
getImageNamein classLMSImageXmlDocument
-
getTileCount
public int getTileCount()Returns the number of tiles referenced by this xlif -
checkImageFormat
-
initImagePaths
private void initImagePaths()Searches the xml for referenced images and adds image paths -
printXlifInfo
public void printXlifInfo() -
isValid
public boolean isValid()
-