Class MetadataDiscovery


  • public class MetadataDiscovery
    extends Object
    Metadatadiscovery facility.
    Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
    • Constructor Detail

      • MetadataDiscovery

        public MetadataDiscovery()
    • Method Detail

      • getProfilesNames

        public static List<String> getProfilesNames​(String context)
                                             throws Exception
        Returns the names of the metadata profiles in a given context
        Returns:
        Throws:
        Exception
      • getProfileSource

        public static String getProfileSource​(String profileName,
                                              String context)
                                       throws Exception
        Returns the source xml of the metadata profile (specified via name) in a given context
        Parameters:
        profile - name
        Returns:
        Throws:
        Exception
      • getMetadataProfilesList

        public static List<MetaDataProfileBean> getMetadataProfilesList​(String scope,
                                                                        javax.servlet.http.HttpServletRequest request)
                                                                 throws Exception
        Retrieve the list of metadata beans
        Returns:
        Throws:
        Exception