i_msgkeyfactory.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 38 行

JAVA
38
字号
/*------------------------------------------------------------------------------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 + =
减小字号Ctrl + -
显示快捷键?