📄 i_querykeyfactory.java
字号:
/*------------------------------------------------------------------------------Name: I_QueryKeyFactory.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 subscribe(), get(), unSubscribe() and erase(). * @see org.xmlBlaster.util.key.QueryKeyData * @see org.xmlBlaster.test.classtest.key.QueryKeyFactoryTest * @author xmlBlaster@marcelruff.info */public interface I_QueryKeyFactory{ /** * Parses the given Key and returns a QueryKeyData holding the data. * Parsing of update() and publish() key is supported here. * @param e.g. the XML based ASCII string */ QueryKeyData 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(QueryKeyData queryKeyData, String extraOffset); /** A human readable name of this factory */ String getName();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -