Back to index

scribus-ng  1.3.4.dfsg+svn20071115
saxio.h
Go to the documentation of this file.
00001 /*
00002  *  saxio.h
00003  *  
00004  *
00005  *  Created by Andreas Vox on 21.09.06.
00006  *  Copyright 2006 under GPL2. All rights reserved.
00007  *
00008  */
00009 
00010 
00011 
00012 #ifndef SAXIO_H
00013 #define SAXIO_H
00014 
00015 #include "desaxe_conf.h"
00016 #include "saxhandler.h"
00017 //#include "digester.h"
00018 
00019 namespace desaxe {
00020 class Digester;
00021 }
00022 
00026 class SaxIO {
00027 public:
00031        virtual void saxx(SaxHandler &, const Xml_string& /* elemtag */) const = 0;
00035        virtual void saxx(SaxHandler & ) const = 0;
00036        virtual ~SaxIO() {}
00040        static const Xml_string saxxDefaultElem;
00049        static void desaxeRules(const Xml_string& /* prefixPattern */, desaxe::Digester & /* ruleset */, const Xml_string /* elemtag */ = saxxDefaultElem) {}
00050 };
00051 
00052 #endif