xmlBlaster 2.2.0 API

org.xmlBlaster.util.qos
Interface I_StatusQosFactory

All Known Implementing Classes:
StatusQosQuickParseFactory, StatusQosSaxFactory

public interface I_StatusQosFactory

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

Author:
xmlBlaster@marcelruff.info
See Also:
StatusQosFactoryTest

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

Method Detail

readObject

StatusQosData readObject(java.lang.String xmlQos)
                         throws XmlBlasterException
Parses the given Qos and returns a StatusQosData 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(StatusQosData statusQosData,
                             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 (see Constants.TOXML_*)
Returns:
The serialized representation

getName

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


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.