Scribus
Open source desktop publishing at your fingertips
SaxIO Class Referenceabstract

#include <saxio.h>

Inheritance diagram for SaxIO:

Public Member Functions

virtual void saxx (SaxHandler &, const Xml_string &) const =0
 
virtual void saxx (SaxHandler &) const =0
 

Static Public Member Functions

static void desaxeRules (const Xml_string &, desaxe::Digester &, const Xml_string=saxxDefaultElem)
 

Static Public Attributes

static const Xml_string saxxDefaultElem
 

Detailed Description

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

Member Function Documentation

static void SaxIO::desaxeRules ( const Xml_string &  ,
desaxe::Digester ,
const Xml_string  = saxxDefaultElem 
)
inlinestatic

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.

virtual void SaxIO::saxx ( SaxHandler ,
const Xml_string &   
) const
pure virtual

Writes an XML representation of this object

Implemented in PageItem, CharStyle, StoryText, ParagraphStyle, CellStyle, TableStyle, and LineStyle.

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

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

Implemented in PageItem, CharStyle, StoryText, ParagraphStyle, CellStyle, TableStyle, and LineStyle.

Member Data Documentation

const Xml_string SaxIO::saxxDefaultElem
static

Element tag which is usually used to serialize this object. "" means no elem is created by saxx()


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