xml_node Class Reference

#include <xml_node.h>

Inheritance diagram for xml_node:

xml_node_rss xml_node_rss_channel xml_node_rss_generic xml_node_rss_item xml_node_rss_timedate

Public Member Functions

virtual ~xml_node ()
 xml_node ()
 xml_node (const xml_node &)
xml_nodeoperator= (const xml_node &)
virtual void none (const nstring &name, const nstring &value)
virtual void attribute (const nstring &name, const nstring &value)
virtual void cdata (const nstring &value)
virtual void comment (const nstring &value)
virtual void document (const nstring &value)
virtual void document_fragment (const nstring &value)
virtual void document_type (const nstring &name, const nstring &value)
virtual void element_begin (const nstring &name)
virtual void element_end (const nstring &name)
virtual void entity_begin (const nstring &name, const nstring &value)
virtual void entity_end (const nstring &name, const nstring &value)
virtual void entity_reference (const nstring &name, const nstring &value)
virtual void notation (const nstring &name, const nstring &value)
virtual void processing_instruction (const nstring &name, const nstring &value)
virtual void significant_whitespace (const nstring &value)
virtual void text (const nstring &value)
virtual void whitespace (const nstring &value)
virtual void xml_declaration (const nstring &name, const nstring &value)

Detailed Description

The xml_node class is used to represent an abstract XML node processing object. It's methods are called by an XML parse at the appropriate times.

Definition at line 30 of file xml_node.h.


Constructor & Destructor Documentation

virtual xml_node::~xml_node (  )  [virtual]

The destructor.

xml_node::xml_node (  ) 

The default constructor.

xml_node::xml_node ( const xml_node  ) 

The copy constructor.


Member Function Documentation

xml_node& xml_node::operator= ( const xml_node  ) 

The assignment operator.

virtual void xml_node::none ( const nstring name,
const nstring value 
) [virtual]

The none method is called for XML_READER_TYPE_NONE nodes. The default action is to do nothing.

virtual void xml_node::attribute ( const nstring name,
const nstring value 
) [virtual]

The attribute method is called for XML_READER_TYPE_ATTRIBUTE nodes. The default action is to do nothing.

Reimplemented in xml_node_rss.

virtual void xml_node::cdata ( const nstring value  )  [virtual]

The cdata method is called for XML_READER_TYPE_ATTRIBUTE nodes. The default action is to call the text method.

virtual void xml_node::comment ( const nstring value  )  [virtual]

The attribute method is called for XML_READER_TYPE_COMMENT nodes. The default action is to do nothing.

virtual void xml_node::document ( const nstring value  )  [virtual]

The document method is called for XML_READER_TYPE_DOCUMENT nodes. The default action is to do nothing.

virtual void xml_node::document_fragment ( const nstring value  )  [virtual]

The document_fragment method is called for XML_READER_TYPE_ DOCUMENT_FRAGMENT nodes. The default action is to do nothing.

virtual void xml_node::document_type ( const nstring name,
const nstring value 
) [virtual]

The document_type method is called for XML_READER_TYPE_DOCUMENT_ TYPE nodes. The default action is to do nothing.

virtual void xml_node::element_begin ( const nstring name  )  [virtual]

The element_begin method is called for XML_READER_TYPE_ELEMENT nodes. The default action is to do nothing.

Reimplemented in xml_node_rss, xml_node_rss_channel, and xml_node_rss_item.

virtual void xml_node::element_end ( const nstring name  )  [virtual]

The element_end method is called for XML_READER_TYPE_END_ELEMENT nodes. The default action is to do nothing.

Reimplemented in xml_node_rss, xml_node_rss_channel, and xml_node_rss_item.

virtual void xml_node::entity_begin ( const nstring name,
const nstring value 
) [virtual]

The entity_begin method is called for XML_READER_TYPE_ENTITY nodes. The default action is to do nothing.

virtual void xml_node::entity_end ( const nstring name,
const nstring value 
) [virtual]

The entity_end method is called for XML_READER_TYPE_END_ENTITY nodes. The default action is to do nothing.

virtual void xml_node::entity_reference ( const nstring name,
const nstring value 
) [virtual]

The entity_reference method is called for XML_READER_TYPE_ENTITY REFERENCE nodes. The default action is to do nothing.

virtual void xml_node::notation ( const nstring name,
const nstring value 
) [virtual]

The notation method is called for XML_READER_TYPE_NOTATION nodes. The default action is to do nothing.

virtual void xml_node::processing_instruction ( const nstring name,
const nstring value 
) [virtual]

The processing_instruction method is called for XML_READER_TYPE_ PROCESSING_INSTRUCTION nodes. The default action is to do nothing.

virtual void xml_node::significant_whitespace ( const nstring value  )  [virtual]

The significant_whitespace method is called for XML_READER_TYPE_ SIGNIFICANT_WHITESPACE nodes. The default action is to call the text method.

virtual void xml_node::text ( const nstring value  )  [virtual]

The text method is called for XML_READER_TYPE_TEXT nodes. The default action is to do nothing.

Reimplemented in xml_node_rss_generic, and xml_node_rss_timedate.

virtual void xml_node::whitespace ( const nstring value  )  [virtual]

The whitespace method is called for XML_READER_TYPE_WHITESPACE nodes. The default action is to do nothing.

virtual void xml_node::xml_declaration ( const nstring name,
const nstring value 
) [virtual]

The xml_declaration method is called for XML_READER_TYPE_XML DECLARATION nodes. The default action is to do nothing.


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

Generated on Wed Mar 12 23:37:45 2008 for Aegis by  doxygen 1.5.5