xmlBlaster 2.1.0 API

org.xmlBlaster.util.qos
Interface I_QueryQosFactory

All Known Implementing Classes:
QueryQosSaxFactory

public interface I_QueryQosFactory

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

Author:
xmlBlaster@marcelruff.info
See Also:
QueryQosFactoryTest

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

Method Detail

readObject

QueryQosData readObject(java.lang.String xmlQos)
                        throws XmlBlasterException
Parses the given Qos and returns a QueryQosData 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(QueryQosData queryQosData,
                             java.lang.String extraOffset,
                             java.util.Properties props)
Serialize the given data object.

Parameters:
The - data object to serialize
extraOffset - Formatting hints
props - Configuration/formatting hints for the dump (see Constants.TOXML_*)
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.