xmlBlaster 1.6.2 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

public 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.

Throws:
XmlBlasterException

writeObject

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

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

getName

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


xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.