1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Improve EmbeddedPacketExtension javadoc

parsePacketExtension is deprecated, use parseExtensionElement instead.
This commit is contained in:
Florian Schmaus 2015-03-07 21:12:12 +01:00
parent 745d67a676
commit a95d25544c

View file

@ -27,7 +27,7 @@ import org.jivesoftware.smack.util.PacketParserUtils;
* extensions. This effectively extends the idea of an extension within one of the * extensions. This effectively extends the idea of an extension within one of the
* top level {@link Stanza} types to consider any embedded element to be an extension * top level {@link Stanza} types to consider any embedded element to be an extension
* of its parent. This more easily enables the usage of some of Smacks parsing * of its parent. This more easily enables the usage of some of Smacks parsing
* utilities such as {@link PacketParserUtils#parsePacketExtension(String, String, org.xmlpull.v1.XmlPullParser)} to be used * utilities such as {@link PacketParserUtils#parseExtensionElement(String, String, org.xmlpull.v1.XmlPullParser)} to be used
* to parse any element of the XML being parsed. * to parse any element of the XML being parsed.
* *
* <p>Top level extensions have only one element, but they can have multiple children, or * <p>Top level extensions have only one element, but they can have multiple children, or