mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
[core] Add ProviderManager.getExtensionProvider(QName)
This commit is contained in:
parent
3f3590b42b
commit
cf4c9725b7
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue