📄 i_msgkeyfactory.java
字号:
/*------------------------------------------------------------------------------Name: I_MsgKeyFactory.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.util.key;import org.xmlBlaster.util.XmlBlasterException;/** * Parsing/Serializing key (quality of service) of publish() and update(). * @see org.xmlBlaster.util.key.MsgKeyData * @see org.xmlBlaster.test.classtest.key.MsgKeyFactoryTest * @author xmlBlaster@marcelruff.info */public interface I_MsgKeyFactory{ /** * Parses the given Key and returns a MsgKeyData holding the data. * Parsing of update() and publish() key is supported here. * @param e.g. the XML based ASCII string */ MsgKeyData readObject(String xmlKey) throws XmlBlasterException; /** * Serialize the given data object. * <br> * @param The data object to serialize * @param extraOffset Formatting hints * @return The serialized representation */ String writeObject(MsgKeyData msgKeyData, String extraOffset); /** A human readable name of this factory */ String getName();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -