AnsweredAssumed Answered

Is there a way to to use the whole Smack parsing framework and use an external parser?

Question asked by Gabriel on Sep 3, 2015
Latest reply on Sep 7, 2015 by Gabriel

Hi all,

 

I have parsong code for custom XMPP stanzas, it turns a raw XMPP String into a Java object. I currently have code (providers & co) that turns the parsed IQs and turns them back into a string so I can then use my parsers as-is, this is not optimal. I have lots of code for parsing my custom IQ stanzas and I really do not want to have to write it again for Smack nor have to maintain two sets. Is there a way to just get the raw string from smack without all the processing?

 

Thanks,

Gabriel

Outcomes