mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 11:07:57 +01:00
27 lines
576 B
Java
27 lines
576 B
Java
|
package org.jivesoftware.smack.provider;
|
||
|
|
||
|
|
||
|
abstract class AbstractProviderInfo {
|
||
|
private String element;
|
||
|
private String ns;
|
||
|
private Object provider;
|
||
|
|
||
|
AbstractProviderInfo(String elementName, String namespace, Object iqOrExtProvider) {
|
||
|
element = elementName;
|
||
|
ns = namespace;
|
||
|
provider = iqOrExtProvider;
|
||
|
}
|
||
|
|
||
|
public String getElementName() {
|
||
|
return element;
|
||
|
}
|
||
|
|
||
|
public String getNamespace() {
|
||
|
return ns;
|
||
|
}
|
||
|
|
||
|
Object getProvider() {
|
||
|
return provider;
|
||
|
}
|
||
|
}
|