Class TaxonomyUtils
java.lang.Object
de.uni_trier.wi2.procake.utils.taxonomy.TaxonomyUtils
This class exports a taxonomy definition from a given CAKE sim and domain model into a combined
XML representation to facilitate manual revision. Please note that only
SMTaxonomyClassicUserWeights measures are supported.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
exportCombinedTaxonomyToString
(String taxonomyClass, String simMeasureName) static String
getModelXMLFromCombinedTaxonomyXML
(String combinedTaxonomy) static String
getSimlXMLFromCombinedTaxonomyXML
(String combinedTaxonomy) static void
importCombinedTaxonomyFromString
(String taxonomyXML, String taxonomyClass, String simMeasureName)
-
Constructor Details
-
TaxonomyUtils
public TaxonomyUtils()
-
-
Method Details
-
getModelXMLFromCombinedTaxonomyXML
public static String getModelXMLFromCombinedTaxonomyXML(String combinedTaxonomy) throws jakarta.xml.bind.JAXBException - Parameters:
combinedTaxonomy
-- Returns:
- Throws:
jakarta.xml.bind.JAXBException
-
getSimlXMLFromCombinedTaxonomyXML
public static String getSimlXMLFromCombinedTaxonomyXML(String combinedTaxonomy) throws jakarta.xml.bind.JAXBException - Parameters:
combinedTaxonomy
-- Returns:
- Throws:
jakarta.xml.bind.JAXBException
-
importCombinedTaxonomyFromString
public static void importCombinedTaxonomyFromString(String taxonomyXML, String taxonomyClass, String simMeasureName) throws jakarta.xml.bind.JAXBException - Parameters:
taxonomyXML
-taxonomyClass
-simMeasureName
-- Throws:
jakarta.xml.bind.JAXBException
-
exportCombinedTaxonomyToString
public static String exportCombinedTaxonomyToString(String taxonomyClass, String simMeasureName) throws jakarta.xml.bind.JAXBException - Parameters:
taxonomyClass
-simMeasureName
-- Returns:
- Throws:
jakarta.xml.bind.JAXBException
-