parse
public OfflineMessageInfo parse(org.jivesoftware.smack.xml.XmlPullParser parser,
int initialDepth,
org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
throws org.jivesoftware.smack.xml.XmlPullParserException,
java.io.IOException
Parses a OfflineMessageInfo stanza (extension sub-packet).
- Specified by:
parse in class org.jivesoftware.smack.provider.Provider<OfflineMessageInfo>
- Parameters:
parser - the XML parser, positioned at the starting element of the extension.
- Returns:
- a PacketExtension.
- Throws:
java.io.IOException - if an I/O error occurred.
org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.