In file ../include/rxp/XML_Parser.h:
class XML_Parser_Class |
A Class of parsers, All parsers share callbacks and a list of known public IDs
![]() | XML_Parser_Class () Create an object representing the class of parsers. | ||||||||
![]() | register_id (EST_Regex id_pattern, EST_String directory) Add a mapping from entity ID (SYSTEM or PUBLIC) to filename. | ||||||||
![]() | registered_ids (EST_TList<EST_String> &list) Fill in the list with the known entity ID mappings | ||||||||
![]() | Creating a parser
| ||||||||
![]() | try_and_open (Entity ent) Utility which tries to open an entity called ID at places specified in the mapping of this parser class |
![]() | open_entity (Entity ent, void* arg) Do any neccessary remappings and open a stream which reads the given entity | ||||||||||||||||||
![]() | The callbacks.
| ||||||||||||||||||
![]() | error (XML_Parser_Class &c, XML_Parser &p, void* data, EST_String message) This can be called from any of the callbacks to present "message" as an error through the error callback, thus getting filename and line information into the message | ||||||||||||||||||
![]() | get_error (XML_Parser &p) Get the error message for the last error |
A Class of parsers, All parsers share callbacks and a list of known public IDs
Defaults to element_open(...) forllowed by element_closed(...).
The string can contain escapes like \2 which are replaced by the text matching the Nth bracketed part of the regular expression.
Alphabetic index HTML hierarchy of classes or Java
This page is part of the
Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact:
speech_tools@cstr.ed.ac.uk