mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-15 03:52:05 +01:00
Improve EmbeddedPacketExtension javadoc
parsePacketExtension is deprecated, use parseExtensionElement instead.
This commit is contained in:
parent
745d67a676
commit
a95d25544c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue