xmlBlaster 2.1.0 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, 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.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.