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).
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()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2003-2007 Jive Software.