|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.xbformat.MsgInfoParserFactory
Creates a parser instance to serialize xmlBlaster messages. For example the SOCKET xbf (xmlBlaster format) or the XmlScripting format.
| Method Summary | |
I_MsgInfoParser |
getMsgInfoParser(Global glob,
I_ProgressListener progressListener,
java.lang.String className,
I_PluginConfig pluginConfig)
Create a new parser instance. |
java.lang.String |
guessParserName(java.lang.String fileName,
java.lang.String mimeType)
Access the parser class name. |
static MsgInfoParserFactory |
instance()
|
boolean |
parserExists(java.lang.String fileName,
java.lang.String mimeType)
Check if the given mime can be parsed. |
void |
register(java.lang.String key,
java.lang.String className)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static MsgInfoParserFactory instance()
public void register(java.lang.String key,
java.lang.String className)
public java.lang.String guessParserName(java.lang.String fileName,
java.lang.String mimeType)
fileName - For example "xmlBlasterMessage.xbfz"mimeType - For example "application/xmlBlaster-xbfz"
public boolean parserExists(java.lang.String fileName,
java.lang.String mimeType)
fileName - For example "xmlBlasterMessage.xbfz"mimeType - For example "application/xmlBlaster-xbfz"
public I_MsgInfoParser getMsgInfoParser(Global glob,
I_ProgressListener progressListener,
java.lang.String className,
I_PluginConfig pluginConfig)
throws XmlBlasterException
glob - progressListener - className - For example "org.xmlBlaster.util.xbformat.XbfParser"
or "org.xmlBlaster.util.xbformat.XmlScriptParser"
Can be nullpluginConfig - TODO
XmlBlasterException
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||