mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
core: add hint towards StanzaView.getExtension(Class)
This commit is contained in:
parent
d498cd8499
commit
5438fb7b33
1 changed files with 4 additions and 0 deletions
|
@ -352,6 +352,10 @@ public abstract class Stanza implements StanzaView, TopLevelStreamElement {
|
|||
* Returns the first extension that matches the specified element name and
|
||||
* namespace, or <code>null</code> if it doesn't exist. Extensions are
|
||||
* are arbitrary XML elements in standard XMPP stanzas.
|
||||
* <p>
|
||||
* Note that it is recommended to use {@link #getExtension(Class)} instead of this method.
|
||||
* The {@link #getExtension(Class)} is more robust, as it is type safe.
|
||||
* </p>
|
||||
*
|
||||
* @param elementName the XML element name of the extension.
|
||||
* @param namespace the XML element namespace of the extension.
|
||||
|
|
Loading…
Reference in a new issue