Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Static Public Member Functions | Static Public Attributes
SaxIO Class Reference

Interface class for any object which wants to use deSaXe to load from and save to XML. More...

#include <saxio.h>

Inheritance diagram for SaxIO:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void saxx (SaxHandler &, const Xml_string &) const =0
 Writes an XML representation of this object.
virtual void saxx (SaxHandler &) const =0
 Writes an XML representation of this object using the default element tag, see below.
virtual ~SaxIO ()

Static Public Member Functions

static void desaxeRules (const Xml_string &, desaxe::Digester &, const Xml_string=saxxDefaultElem)
 Fills the digester with rules wich ensure that an object which was saved via saxx() will be reconstructed on top of the digester stack.

Static Public Attributes

static const Xml_string saxxDefaultElem
 Element tag which is usually used to serialize this object.

Detailed Description

Interface class for any object which wants to use deSaXe to load from and save to XML.

Definition at line 26 of file saxio.h.


Constructor & Destructor Documentation

virtual SaxIO::~SaxIO ( ) [inline, virtual]

Definition at line 36 of file saxio.h.

{}

Member Function Documentation

static void SaxIO::desaxeRules ( const Xml_string ,
desaxe::Digester ,
const Xml_string  = saxxDefaultElem 
) [inline, static]

Fills the digester with rules wich ensure that an object which was saved via saxx() will be reconstructed on top of the digester stack.

The prefix pattern shall be used to create patterns which constrain the added rules to this context. Unfortunately there are no virtual static functions, so this is just a dummy serving as a template.

Reimplemented in SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, and SCRIBUS_API.

Definition at line 49 of file saxio.h.

{}
virtual void SaxIO::saxx ( SaxHandler ,
const Xml_string  
) const [pure virtual]

Writes an XML representation of this object.

Implemented in SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, and SCRIBUS_API.

virtual void SaxIO::saxx ( SaxHandler ) const [pure virtual]

Writes an XML representation of this object using the default element tag, see below.

Implemented in SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, SCRIBUS_API, and SCRIBUS_API.


Member Data Documentation

Element tag which is usually used to serialize this object.

"" means no elem is created by saxx()

Reimplemented in SCRIBUS_API.

Definition at line 40 of file saxio.h.


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