public class CoinIQProvider
extends java.lang.Object
implements org.jivesoftware.smack.provider.IQProvider
Constructor and Description |
---|
CoinIQProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smack.packet.IQ |
parseIQ(org.xmlpull.v1.XmlPullParser parser)
Parse the Coin IQ sub-document and returns the corresponding
CoinIQ.
|
static java.lang.String |
parseText(org.xmlpull.v1.XmlPullParser parser)
Returns the content of the next
XmlPullParser.TEXT element that
we encounter in parser. |
public org.jivesoftware.smack.packet.IQ parseIQ(org.xmlpull.v1.XmlPullParser parser) throws java.lang.Exception
parseIQ
in interface org.jivesoftware.smack.provider.IQProvider
parser
- XML parserjava.lang.Exception
- if something goes wrong during parsingpublic static java.lang.String parseText(org.xmlpull.v1.XmlPullParser parser) throws java.lang.Exception
XmlPullParser.TEXT
element that
we encounter in parser.parser
- the parse that we'll be probing for text.XmlPullParser.TEXT
element we
come across or null if we encounter a closing tag first.java.lang.Exception
- if an error occurs parsing the XML.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.