XMLBEANSXX  0.9.8
xmlbeansxx::XmlParser Class Reference

#include <XmlParser.h>

Inheritance diagram for xmlbeansxx::XmlParser:

List of all members.

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

Constructor & Destructor Documentation

virtual xmlbeansxx::XmlParser::~XmlParser ( ) [inline, virtual]

Member Function Documentation

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]
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.


The documentation for this class was generated from the following file: