org.jivesoftware.smackx.packet
Class DiscoverInfo.Feature
java.lang.Object
org.jivesoftware.smackx.packet.DiscoverInfo.Feature
- Enclosing class:
- DiscoverInfo
public static class DiscoverInfo.Feature
- extends Object
Represents the features offered by the item. This information helps requestors determine
what actions are possible with regard to this item (registration, search, join, etc.)
as well as specific feature types of interest, if any (e.g., for the purpose of feature
negotiation).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoverInfo.Feature
public DiscoverInfo.Feature(String variable)
- Creates a new feature offered by an XMPP entity or item.
- Parameters:
variable
- the feature's variable.
getVar
public String getVar()
- Returns the feature's variable.
- Returns:
- the feature's variable.
toXML
public String toXML()
Copyright © 2003 Jive Software.