XMLBEANSXX
0.9.8
|
#include <XmlParser.h>
Classes | |
class | Factory |
Public Member Functions | |
virtual | ~XmlParser () |
virtual void | parse (std::istream &in, XmlObject &documentRoot)=0 |
virtual void | parse (const std::string &in, XmlObject &documentRoot)=0 |
virtual XmlOptions | getXmlOptions () const =0 |
virtual void | setXmlOptions (const XmlOptions &options)=0 |
virtual void | loadGrammars (const std::vector< std::string > &fileNames)=0 |
virtual void | loadGrammar (const std::string &fileName)=0 |
virtual void | unloadGrammars ()=0 |
virtual xmlbeansxx::XmlParser::~XmlParser | ( | ) | [inline, virtual] |
virtual XmlOptions xmlbeansxx::XmlParser::getXmlOptions | ( | ) | const [pure virtual] |
Implemented in xmlbeansxx::EmptyParser.
virtual void xmlbeansxx::XmlParser::loadGrammar | ( | const std::string & | fileName | ) | [pure virtual] |
Loads grammar into parser from specified file name.
Implemented in xmlbeansxx::LibXMLParser, and xmlbeansxx::XercesParser.
virtual void xmlbeansxx::XmlParser::loadGrammars | ( | const std::vector< std::string > & | fileNames | ) | [pure virtual] |
Loads grammars into parser from specified file names.
Implemented in xmlbeansxx::LibXMLParser, and xmlbeansxx::XercesParser.
virtual void xmlbeansxx::XmlParser::parse | ( | std::istream & | in, |
XmlObject & | documentRoot | ||
) | [pure virtual] |
Parses using some parser an xml document from std::istream to some XmlDocument. If XmlOptions validation is set, then uses schema validator (apropriate grammars should be loaded using eg. loadGrammar method).
Implemented in xmlbeansxx::LibXMLParser, and xmlbeansxx::XercesParser.
virtual void xmlbeansxx::XmlParser::parse | ( | const std::string & | in, |
XmlObject & | documentRoot | ||
) | [pure virtual] |
Implemented in xmlbeansxx::LibXMLParser, and xmlbeansxx::XercesParser.
virtual void xmlbeansxx::XmlParser::setXmlOptions | ( | const XmlOptions & | options | ) | [pure virtual] |
Implemented in xmlbeansxx::EmptyParser.
virtual void xmlbeansxx::XmlParser::unloadGrammars | ( | ) | [pure virtual] |
Unloads all grammars from parser.
Implemented in xmlbeansxx::LibXMLParser, and xmlbeansxx::XercesParser.