[core] Add ProviderManager.getExtensionProvider(QName)

listEqualsHashcode
Florian Schmaus 2 years ago
parent 3f3590b42b
commit cf4c9725b7
  1. 6
      smack-core/src/main/java/org/jivesoftware/smack/provider/ProviderManager.java

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

Loading…
Cancel
Save