Class ViewerContainer


  • public class ViewerContainer
    extends java.lang.Object
    ViewerContainer provides a Container for all the MetadataViewer, this class is used in EDALFileChooser.
    • Constructor Detail

      • ViewerContainer

        public ViewerContainer()
    • Method Detail

      • registerViewer

        public static void registerViewer​(EnumDublinCoreElements element,
                                          MetadataViewer viewer)
        register viewer for element
        Parameters:
        element - the metadatatype
        viewer - the metadatatype corresponding viewer
      • getViewer

        public static MetadataViewer getViewer​(EnumDublinCoreElements element)
        Returns MetadataViewer
        Parameters:
        element - metadatatype.
        Returns:
        the corresponding viewer.
      • clear

        public static void clear()
        cleanup the ViewerContainer