public class MetadataUtility extends Object
| Constructor and Description |
|---|
MetadataUtility() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.MetadataFormat |
getMetadataFormat(String profileName) |
Map<String,org.gcube.datacatalogue.metadatadiscovery.bean.MetadataProfile> |
getMetadataProfiles() |
List<org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.NamespaceCategory> |
getNamespaceCategories() |
Set<String> |
getProfilesNames()
Returns the names of the metadata profiles in a given context
|
void |
validateProfile(String xmlProfile) |
public void validateProfile(String xmlProfile) throws ParserConfigurationException, SAXException, IOException
public Map<String,org.gcube.datacatalogue.metadatadiscovery.bean.MetadataProfile> getMetadataProfiles() throws Exception
Exceptionpublic Set<String> getProfilesNames() throws Exception
Exceptionpublic org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.MetadataFormat getMetadataFormat(String profileName) throws Exception
ExceptionCopyright © 2020. All Rights Reserved.