In file ../include/rxp/XML_Parser.h:
class XML_Parser |
An actual parser.
![]() | ~XML_Parser () Destructor, may close input if required |
![]() | track_context (bool flag) Request that parser keep track of the currently open elements. |
![]() | track_contents (bool flag) Keep track of the content of open elements. |
![]() | context (int n) Get the name of the nth enclosing element. |
![]() | go () Run the parser. |
![]() | pclass The class to which this parser belogs. |
![]() | current_bit The piece of markup being processed |
![]() | source Where we are reading from |
![]() | initial_entity The entity we started from. |
![]() | data Arbitrary data which can beused by callbacks |
![]() | p The RXP parser object |
![]() | p_context If context is being tracked, this is a stack of element names |
![]() | XML_Parser (XML_Parser_Class &parent, InputSource source, Entity initial_entity, void* data) Creator used by XML_Parser_Class::make_parser() |
![]() | open (Entity ent) Open. |
![]() | get_error () Get the error message for the last error |
An actual parser. Each such instance parses just one stream which is given when the parser is created.The behaviour of the parser is given by the class to which it belongs.
These are recorded on a atsck. Use context() to access the information.
Not yet implemented.
context(0) is the element we are directly inside.
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