Interface MetadataProfileDiscovery
-
- All Known Implementing Classes:
MetadataProfileReader
public interface MetadataProfileDiscoveryThe Interface MetadataProfileDiscovery.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Sep 30, 2020
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MetadataProfile>getListOfMetadataProfiles()Gets the list of metadata types.List<NamespaceCategory>getListOfNamespaceCategories()Gets the list of namespace categories.MetadataFormatgetMetadataFormatForMetadataProfile(MetadataProfile type)Gets the metadata format for metadata type.StringgetProfileSchema()Return the XSD of the profile schema.voidresetMetadataProfile()Reset metadata profile.voidresetNamespaceCategories()Reset namespace categories.voidvalidateProfile(String xmlProfile)Validate the xml provided as argument.
-
-
-
Method Detail
-
getListOfMetadataProfiles
List<MetadataProfile> getListOfMetadataProfiles() throws Exception
Gets the list of metadata types.- Returns:
- the list of metadata types
- Throws:
Exception- the exception
-
getListOfNamespaceCategories
List<NamespaceCategory> getListOfNamespaceCategories() throws Exception
Gets the list of namespace categories.- Returns:
- the list of namespace categories
- Throws:
Exception- the exception
-
getMetadataFormatForMetadataProfile
MetadataFormat getMetadataFormatForMetadataProfile(MetadataProfile type) throws Exception
Gets the metadata format for metadata type.- Parameters:
type- the type- Returns:
- the metadata format for metadata type
- Throws:
Exception- the exception
-
resetMetadataProfile
void resetMetadataProfile()
Reset metadata profile. Forces current list of Metadata Profile at null in order to read it from IS againg
-
resetNamespaceCategories
void resetNamespaceCategories()
Reset namespace categories. Forces current list of Namespace Categories Profile at null in order to read it from IS againg
-
getProfileSchema
String getProfileSchema()
Return the XSD of the profile schema.- Returns:
- the String representation of the XSD containing the schema for a profile
-
-