Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Private Attributes
SaxFilter Class Reference

Abstract super class for filtering a SAX stream. More...

#include <saxfilter.h>

Inheritance diagram for SaxFilter:
Inheritance graph
[legend]
Collaboration diagram for SaxFilter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SaxFilter (SaxHandler *delegate)
void setDelegate (SaxHandler *delegate)
SaxHandlerdelegate ()
virtual void beginDoc ()
virtual void endDoc ()
virtual void begin (const Xml_string &tag, Xml_attr attr)
virtual void end (const Xml_string &tag)
virtual void chars (const Xml_string &text)
void beginEnd (const Xml_string &tag, Xml_attr attr)

Private Attributes

SaxHandlerm_delegate

Detailed Description

Abstract super class for filtering a SAX stream.

Definition at line 20 of file saxfilter.h.


Constructor & Destructor Documentation

SaxFilter::SaxFilter ( SaxHandler delegate) [inline]

Definition at line 22 of file saxfilter.h.

: m_delegate(delegate)  {}

Member Function Documentation

void SaxFilter::begin ( const Xml_string tag,
Xml_attr  attr 
) [virtual]

Implements SaxHandler.

Reimplemented in AddAttributes, RenameElem, KeepOpen, and UniqueID.

Definition at line 15 of file saxfilter.cpp.

{
       m_delegate->begin(tag, attr);
}

Here is the call graph for this function:

void SaxFilter::beginDoc ( ) [virtual]

Implements SaxHandler.

Definition at line 5 of file saxfilter.cpp.

Here is the call graph for this function:

void SaxHandler::beginEnd ( const Xml_string tag,
Xml_attr  attr 
) [inline, inherited]

Definition at line 32 of file saxhandler.h.

{
       begin(tag, attr);
       end(tag);
}

Here is the call graph for this function:

void SaxFilter::chars ( const Xml_string text) [virtual]

Implements SaxHandler.

Reimplemented in UniqueID.

Definition at line 25 of file saxfilter.cpp.

{
       m_delegate->chars(text);
}

Here is the call graph for this function:

Definition at line 24 of file saxfilter.h.

{ return m_delegate; }

Here is the caller graph for this function:

void SaxFilter::end ( const Xml_string tag) [virtual]

Implements SaxHandler.

Reimplemented in RenameElem, KeepOpen, and UniqueID.

Definition at line 20 of file saxfilter.cpp.

{
       m_delegate->end(tag);
}

Here is the call graph for this function:

void SaxFilter::endDoc ( ) [virtual]

Implements SaxHandler.

Definition at line 10 of file saxfilter.cpp.

Here is the call graph for this function:

void SaxFilter::setDelegate ( SaxHandler delegate) [inline]

Definition at line 23 of file saxfilter.h.

Here is the call graph for this function:


Member Data Documentation

Definition at line 31 of file saxfilter.h.


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