Interface DMNMarshallerImportsHelper<IMPORT,DEFINITIONS,DRGELEMENT,ITEMDEFINITION>
-
public interface DMNMarshallerImportsHelper<IMPORT,DEFINITIONS,DRGELEMENT,ITEMDEFINITION>This helper provides methods to handle imports into the DMNMarshaller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<DRGELEMENT>getImportedDRGElements(Map<IMPORT,DEFINITIONS> importDefinitions)This method extract a list ofDMNMarshallerImportsHelpers from theimportDefinitionsmap.List<ITEMDEFINITION>getImportedItemDefinitions(Map<IMPORT,DEFINITIONS> importDefinitions)This method extract a list ofDMNMarshallerImportsHelperfrom theimportDefinitionsmap.Map<IMPORT,String>getImportXML(org.kie.workbench.common.stunner.core.diagram.Metadata metadata, List<IMPORT> imports)This method loadsStringof all imported XML files from a list of imports.
-
-
-
Method Detail
-
getImportXML
Map<IMPORT,String> getImportXML(org.kie.workbench.common.stunner.core.diagram.Metadata metadata, List<IMPORT> imports)
This method loadsStringof all imported XML files from a list of imports.- Parameters:
metadata- represents the metadata from the main DMN model.imports- represent the list of imported files.- Returns:
- a map
Stringindexed byDMNMarshallerImportsHelpers.
-
getImportedDRGElements
List<DRGELEMENT> getImportedDRGElements(Map<IMPORT,DEFINITIONS> importDefinitions)
This method extract a list ofDMNMarshallerImportsHelpers from theimportDefinitionsmap.- Parameters:
importDefinitions- is a map ofDMNMarshallerImportsHelperindexed byDMNMarshallerImportsHelper.- Returns:
- a list of imported
DMNMarshallerImportsHelpers.
-
getImportedItemDefinitions
List<ITEMDEFINITION> getImportedItemDefinitions(Map<IMPORT,DEFINITIONS> importDefinitions)
This method extract a list ofDMNMarshallerImportsHelperfrom theimportDefinitionsmap.- Parameters:
importDefinitions- is a map ofDMNMarshallerImportsHelperindexed byDMNMarshallerImportsHelper.- Returns:
- a list of imported
DMNMarshallerImportsHelpers.
-
-