xmlBlaster 2.2.0 client API

org.xmlBlaster.util.key
Interface I_MsgKeyFactory

All Known Implementing Classes:
MsgKeySaxFactory

public interface I_MsgKeyFactory

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

Author:
xmlBlaster@marcelruff.info
See Also:
MsgKeyData, org.xmlBlaster.test.classtest.key.MsgKeyFactoryTest

Method Summary
 java.lang.String getName()
          A human readable name of this factory
 MsgKeyData readObject(java.lang.String xmlKey)
          Parses the given Key and returns a MsgKeyData holding the data.
 java.lang.String writeObject(MsgKeyData msgKeyData, java.lang.String extraOffset)
          Serialize the given data object.
 

Method Detail

readObject

MsgKeyData readObject(java.lang.String xmlKey)
                      throws XmlBlasterException
Parses the given Key and returns a MsgKeyData holding the data. Parsing of update() and publish() key is supported here.

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

writeObject

java.lang.String writeObject(MsgKeyData msgKeyData,
                             java.lang.String extraOffset)
Serialize the given data object.

Parameters:
The - data object to serialize
extraOffset - Formatting hints
Returns:
The serialized representation

getName

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


xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.