1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-22 18:48:00 +01:00

[core] Add ProviderManager.getExtensionProvider(QName)

This commit is contained in:
Florian Schmaus 2020-08-28 09:37:29 +02:00
parent 3f3590b42b
commit cf4c9725b7

View file

@ -243,7 +243,11 @@ public final class ProviderManager {
*/ */
public static ExtensionElementProvider<ExtensionElement> getExtensionProvider(String elementName, String namespace) { public static ExtensionElementProvider<ExtensionElement> getExtensionProvider(String elementName, String namespace) {
QName key = getQName(elementName, namespace); QName key = getQName(elementName, namespace);
return extensionProviders.get(key); return getExtensionProvider(key);
}
public static ExtensionElementProvider<ExtensionElement> getExtensionProvider(QName qname) {
return extensionProviders.get(qname);
} }
/** /**