as2fm.jani_generator.scxml_helpers.roaml_model.RoamlNodes

class as2fm.jani_generator.scxml_helpers.roaml_model.RoamlNodes(nodes_element: _Element | None, folder_path: str)

Bases: object

Handler for the node_models section of a ROAML file.

__init__(nodes_element: _Element | None, folder_path: str)

Methods

__init__(nodes_element, folder_path)

from_roaml_xml(parent_element, folder)

Load the executable nodes declaration from the RoAML XML node.

get_skills()

get_tag()

static from_roaml_xml(parent_element: _Element, folder: str) RoamlNodes

Load the executable nodes declaration from the RoAML XML node.

Parent_element:

The RoAML element to extract the information from.

Parent folder:

Path to the folder containing the RoAML xml file.

Returns:

An instance of RoamlNodes.