public class SubscribeExtension extends NodeExtension
Constructor and Description |
---|
SubscribeExtension(String subscribeJid) |
SubscribeExtension(String subscribeJid,
String nodeId) |
Modifier and Type | Method and Description |
---|---|
String |
getJid() |
String |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
getElementName, getNamespace, getNode, getPubSubNamespace, toString
public SubscribeExtension(String subscribeJid)
public SubscribeExtension(String subscribeJid, String nodeId)
public String toXML(String enclosingNamespace)
Element
toXML
in interface Element
toXML
in class NodeExtension
enclosingNamespace
- the enclosing namespace or null
.