xmlpp::Parser Class Reference
XML parser. More...
#include <libxml++/parsers/parser.h>
Inherits xmlpp::NonCopyable.
Inherited by xmlpp::DomParser, and xmlpp::SaxParser.
List of all members.
Detailed Description
XML parser.
Member Typedef Documentation
Constructor & Destructor Documentation
xmlpp::Parser::Parser |
( |
|
) |
|
virtual xmlpp::Parser::~Parser |
( |
|
) |
[virtual] |
Member Function Documentation
static void xmlpp::Parser::callback_validity_error |
( |
void * |
ctx, |
|
|
const char * |
msg, |
|
|
|
... | |
|
) |
| | [static, protected] |
static void xmlpp::Parser::callback_validity_warning |
( |
void * |
ctx, |
|
|
const char * |
msg, |
|
|
|
... | |
|
) |
| | [static, protected] |
virtual void xmlpp::Parser::check_for_exception |
( |
|
) |
[protected, virtual] |
virtual void xmlpp::Parser::check_for_validity_messages |
( |
|
) |
[protected, virtual] |
virtual bool xmlpp::Parser::get_substitute_entities |
( |
|
) |
const [virtual] |
virtual bool xmlpp::Parser::get_validate |
( |
|
) |
const [virtual] |
See set_validate().
- Returns:
- Whether the parser will validate the XML file.
virtual void xmlpp::Parser::handleException |
( |
const exception& |
e |
) |
[protected, virtual] |
virtual void xmlpp::Parser::initialize_context |
( |
|
) |
[protected, virtual] |
virtual void xmlpp::Parser::on_validity_error |
( |
const Glib::ustring & |
message |
) |
[protected, virtual] |
virtual void xmlpp::Parser::on_validity_warning |
( |
const Glib::ustring & |
message |
) |
[protected, virtual] |
virtual void xmlpp::Parser::parse_file |
( |
const Glib::ustring & |
filename |
) |
[pure virtual] |
virtual void xmlpp::Parser::parse_memory |
( |
const Glib::ustring & |
contents |
) |
[pure virtual] |
virtual void xmlpp::Parser::parse_stream |
( |
std::istream & |
in |
) |
[pure virtual] |
virtual void xmlpp::Parser::release_underlying |
( |
|
) |
[protected, virtual] |
virtual void xmlpp::Parser::set_substitute_entities |
( |
bool |
val = true |
) |
[virtual] |
Set whether the parser will automatically substitute entity references with the text of the entities' definitions.
For instance, this affects the text returned by ContentNode::get_content(). By default, the parser will not substitute entities, so that you do not lose the entity reference information.
- Parameters:
-
| val | Whether entities will be substitued. |
virtual void xmlpp::Parser::set_validate |
( |
bool |
val = true |
) |
[virtual] |
By default, the parser will not validate the XML file.
- Parameters:
-
| val | Whether the document should be validated. |
Member Data Documentation
The documentation for this class was generated from the following file: