mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-25 15:52:06 +01:00
core: add javadoc for StanzaView.getExtensions(Class)
This commit is contained in:
parent
dc443bccd4
commit
5e921e6393
1 changed files with 7 additions and 0 deletions
|
@ -106,5 +106,12 @@ public interface StanzaView extends XmlLangElement {
|
||||||
|
|
||||||
List<ExtensionElement> getExtensions(QName qname);
|
List<ExtensionElement> getExtensions(QName qname);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return all extension elements of the given type. Returns the empty list if there a none.
|
||||||
|
*
|
||||||
|
* @param <E> the type of extension elements.
|
||||||
|
* @param extensionElementClass the class of the type of extension elements.
|
||||||
|
* @return a list of extension elements of that type, which may be empty.
|
||||||
|
*/
|
||||||
<E extends ExtensionElement> List<E> getExtensions(Class<E> extensionElementClass);
|
<E extends ExtensionElement> List<E> getExtensions(Class<E> extensionElementClass);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue