Scribus
Open source desktop publishing at your fingertips
saxio.h
1 /*
2  * saxio.h
3  *
4  *
5  * Created by Andreas Vox on 21.09.06.
6  * Copyright 2006 under GPL2. All rights reserved.
7  *
8  */
9 
10 
11 
12 #ifndef SAXIO_H
13 #define SAXIO_H
14 
15 #include "desaxe_conf.h"
16 #include "saxhandler.h"
17 //#include "digester.h"
18 
19 namespace desaxe {
20 class Digester;
21 }
22 
26 class SaxIO {
27 public:
31  virtual void saxx(SaxHandler &, const Xml_string& /* elemtag */) const = 0;
35  virtual void saxx(SaxHandler & ) const = 0;
36  virtual ~SaxIO() {}
40  static const Xml_string saxxDefaultElem;
49  static void desaxeRules(const Xml_string& /* prefixPattern */, desaxe::Digester & /* ruleset */, const Xml_string /* elemtag */ = saxxDefaultElem) {}
50 };
51 
52 #endif
Definition: saxhandler.h:21
static const Xml_string saxxDefaultElem
Definition: saxio.h:40
Definition: saxio.h:26
static void desaxeRules(const Xml_string &, desaxe::Digester &, const Xml_string=saxxDefaultElem)
Definition: saxio.h:49
Definition: digester.h:100
virtual void saxx(SaxHandler &, const Xml_string &) const =0
Definition: actions.h:18