org::xmlBlaster::util::key::MsgKeyFactory Class Reference

Inheritance diagram for org::xmlBlaster::util::key::MsgKeyFactory:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::key::MsgKeyFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MsgKeyFactory (org::xmlBlaster::util::Global &global)
 Can be used as singleton.
 ~MsgKeyFactory ()
org::xmlBlaster::util::key::MsgKeyData readObject (std::string &xmlKey)
 Parses the given xml Key and returns a org::xmlBlaster::util::key::MsgKeyData holding the data.
void startElement (std::string &name, parser::AttributeMap &attrs)
 Start element, event from SAX parser.
void endElement (std::string &name)
 End element, event from SAX parser.

Detailed Description

Definition at line 60 of file MsgKeyFactory.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::key::MsgKeyFactory::MsgKeyFactory ( org::xmlBlaster::util::Global global  ) 

Can be used as singleton.

Definition at line 15 of file MsgKeyFactory.cpp.

org::xmlBlaster::util::key::MsgKeyFactory::~MsgKeyFactory (  ) 

Definition at line 26 of file MsgKeyFactory.cpp.


Member Function Documentation

org::xmlBlaster::util::key::MsgKeyData org::xmlBlaster::util::key::MsgKeyFactory::readObject ( std::string &  xmlKey  ) 

Parses the given xml Key and returns a org::xmlBlaster::util::key::MsgKeyData holding the data.

Parsing of update() and publish() key is supported here.

Parameters:
the XML based ASCII std::string

Referenced by org::xmlBlaster::client::protocol::socket::SocketDriver::get(), org::xmlBlaster::util::queue::SQLiteQueuePlugin::peekWithSamePriority(), and org::xmlBlaster::test::TestKeys::testPublishKey().

void org::xmlBlaster::util::key::MsgKeyFactory::startElement ( std::string &  name,
parser::AttributeMap attrs 
)

Start element, event from SAX parser.

Parameters:
name Tag name
attrs the attributes of the tag

void org::xmlBlaster::util::key::MsgKeyFactory::endElement ( std::string &  name  ) 

End element, event from SAX parser.

Parameters:
name Tag name


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