1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +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);
} }
/** /**