Class XlifDocument


public class XlifDocument extends LMSImageXmlDocument
This class loads and represents a Leica Microsystems XLIF xml document
Author:
Constanze Wendlandt constanze.wendlandt at leica-microsystems.com
  • Field Details

  • Constructor Details

  • Method Details

    • getImageFormat

      public LMSFileReader.ImageFormat getImageFormat()
    • getImagePaths

      public List<String> getImagePaths()
    • getName

      public String getName()
    • getElementNode

      public Node getElementNode()
    • getImageNode

      public Node getImageNode()
      Description copied from class: LMSImageXmlDocument
      Returns the image node of the xml document which contains image metadata
      Specified by:
      getImageNode in class LMSImageXmlDocument
    • getImageName

      public String getImageName()
      Description copied from class: LMSImageXmlDocument
      Returns the name of the image (it might be contained in the XML or otherwise e.g. in the file name)
      Specified by:
      getImageName in class LMSImageXmlDocument
    • getTileCount

      public int getTileCount()
      Returns the number of tiles referenced by this xlif
    • checkImageFormat

      private LMSFileReader.ImageFormat checkImageFormat()
    • initImagePaths

      private void initImagePaths()
      Searches the xml for referenced images and adds image paths
    • printXlifInfo

      public void printXlifInfo()
    • isValid

      public boolean isValid()