xmlBlaster 2.1.0 API

org.xmlBlaster.util.qos
Interface I_MsgQosFactory

All Known Implementing Classes:
MsgQosSaxFactory

public interface I_MsgQosFactory

Parsing/Serializing QoS (quality of service) of publish() and update().

Author:
xmlBlaster@marcelruff.info
See Also:
MsgQosFactoryTest

Method Summary
 java.lang.String getName()
          A human readable name of this factory
 MsgQosData readObject(java.lang.String xmlQos)
          Parses the given Qos and returns a MsgQosData holding the data.
 java.lang.String writeObject(MsgQosData msgQosData, java.lang.String extraOffset, java.util.Properties props)
          Serialize the given data object.
 

Method Detail

readObject

MsgQosData readObject(java.lang.String xmlQos)
                      throws XmlBlasterException
Parses the given Qos and returns a MsgQosData holding the data. Parsing of update() and publish() QoS is supported here.

Parameters:
e.g. - the XML based ASCII string
Throws:
XmlBlasterException

writeObject

java.lang.String writeObject(MsgQosData msgQosData,
                             java.lang.String extraOffset,
                             java.util.Properties props)
Serialize the given data object.

Parameters:
The - data object to serialize
extraOffset - Formatting hints
props - Formatting hints (like "forceReadable" to be human readable)
Returns:
The serialized representation

getName

java.lang.String getName()
A human readable name of this factory


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.