as2fm.scxml_converter.scxml_entries.scxml_bt_ports.BtOutputPortDeclaration
- class as2fm.scxml_converter.scxml_entries.scxml_bt_ports.BtOutputPortDeclaration(key_str: str, type_str: str)
Bases:
ScxmlBase
Declare an input port in a bt plugin.
- __init__(key_str: str, type_str: str)
Methods
__init__
(key_str, type_str)Convert the object to its plain SCXML version.
as_xml
()Convert the object to an XML element.
Check if the object is valid.
from_xml_tree
(xml_tree)Create a ScxmlBase object from an XML tree.
get_body
()Get the body of the object.
Get the data model of the object.
get_id
()Get the ID of the object.
get_key_name
()get_key_type
()Get the states of the object.
Get the tag name of the XML element.
update_bt_ports_values
(bt_ports_handler)Update the values of potential entries making use of BT ports.
- as_xml() Element
Convert the object to an XML element.
- check_validity() bool
Check if the object is valid.
- static from_xml_tree(xml_tree: Element) BtOutputPortDeclaration
Create a ScxmlBase object from an XML tree.
- get_body()
Get the body of the object.
- get_data_model()
Get the data model of the object.
- get_id() str
Get the ID of the object.
- get_states()
Get the states of the object.
- static get_tag_name() str
Get the tag name of the XML element.
- update_bt_ports_values(bt_ports_handler)
Update the values of potential entries making use of BT ports.