Functions
XmlHandler Namespace Reference

Functions

def createMessage
def createTopic
def delete_key_by_message
def delete_key_by_topic
def newButton
def newMessage
def newTopic
def validator
def xml_validator
def xmlCreator
def xmlEditor

Function Documentation

def XmlHandler.createMessage (   i,
  message_description,
  message_type,
  message_content 
)

Definition at line 232 of file XmlHandler.py.

def XmlHandler.createTopic (   i,
  topic_name,
  topic_msg 
)

Definition at line 250 of file XmlHandler.py.

def XmlHandler.delete_key_by_message (   message,
  buttons 
)

Definition at line 207 of file XmlHandler.py.

def XmlHandler.delete_key_by_topic (   topic,
  buttons 
)

Definition at line 191 of file XmlHandler.py.

def XmlHandler.newButton (   i,
  topics,
  messages 
)

Definition at line 260 of file XmlHandler.py.

def XmlHandler.newMessage (   i)

Definition at line 223 of file XmlHandler.py.

def XmlHandler.newTopic (   i)

Definition at line 245 of file XmlHandler.py.

def XmlHandler.validator (   tree)

Definition at line 13 of file XmlHandler.py.

def XmlHandler.xml_validator (   xml)
:param xml: An XML file.
:return Boolean: It's true if the XML file is a valid XML configuration file.
:raises ValueError: It raises an exception if the XML file is not a valid configuration file.
This function checks that the input XML file is a valid XML configuration file for tele-dir.
If the file is not valid, then the program ends and raises an error.

Definition at line 105 of file XmlHandler.py.

def XmlHandler.xmlCreator (   xml_dir)
:return None:
This function starts a prompt in the terminal for the user to create a custom valid XML configuration file.
It asks for several inputs for the user to fill with the information required to make the configuration that
the user desires.

Definition at line 125 of file XmlHandler.py.

def XmlHandler.xmlEditor (   xmlUrl,
  xml 
)
:param xml: A valid tele-dir XML configuration file.
:return None:
This function prompts the user for changes in the xml XML file. It's designed to further improve the customization options for the user.

Definition at line 302 of file XmlHandler.py.



tele_dir
Author(s): Rodrigo Delgado , Steffan Wiche
autogenerated on Thu Jun 6 2019 17:32:56