Public Member Functions | |
def | __init__ |
def | set_ip |
def | startElement |
def | characters |
def | endElement |
def | _test_keywords |
def | _reset |
def | _insert |
This class is derived from _xmlplus.sax.handler and provides individual functions for parsing the xml file.
Definition at line 33 of file client_classes.py.
|
Constructor Definition at line 36 of file client_classes.py. |
|
This function inserts the data from the xml file into the database. Definition at line 221 of file client_classes.py. |
|
This function resets member variables. Definition at line 206 of file client_classes.py. |
|
This is a recursive function, which tests if a list of keywords is part of a string (AND relation). If all keywords found 0 is returned, otherwise -1 keywordlist = list of all keywords amount_of_keywords = number of keywords in list teststring = string, which needs to be investigated return -1 if line is not interesting return 0 if line is taken Definition at line 139 of file client_classes.py. |
|
This function overwrites the character function to extract the tag content. Definition at line 70 of file client_classes.py. |
|
Definition at line 90 of file client_classes.py. |
|
The function sets the member variable _ip. Definition at line 58 of file client_classes.py. |
|
The function overwrites the startElement function. Definition at line 64 of file client_classes.py. |