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 java.lang.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).
Constructor Summary |
DiscoverInfo.Feature(java.lang.String variable)
Creates a new feature offered by an XMPP entity or item. |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getVar()
Returns the feature's variable. |
int |
hashCode()
|
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DiscoverInfo.Feature
public DiscoverInfo.Feature(java.lang.String variable)
- Creates a new feature offered by an XMPP entity or item.
- Parameters:
variable
- the feature's variable.
getVar
public java.lang.String getVar()
- Returns the feature's variable.
- Returns:
- the feature's variable.
toXML
public java.lang.String toXML()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2007 Jive Software.