Class ImageLibrary.ImageLibraryEntry

    • Method Detail

      • constructImageLibraryEntry

        protected void constructImageLibraryEntry​(HierarchicalImageReference hierarchicalImageReference)
      • getImageContentItem

        public ContentItem getImageContentItem​(ContentItemFactory cif,
                                               ContentItem parent)
                                        throws DicomException

        Get a new ImageContentItem made from this ImageLibraryEntry to use in an SR tree.

        Has side effect of adding the fragment to the parent if the parent is not null.

        Parameters:
        cif - the ContentItemFactory to use
        parent - the parent content item (usually the Image Library CONTAINER content item)
        Returns:
        the new ImageContentItem
        Throws:
        DicomException - if error in DICOM encoding
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object