Class DiscoverInfo.Feature
- java.lang.Object
-
- org.jivesoftware.smackx.disco.packet.DiscoverInfo.Feature
-
- Enclosing class:
- DiscoverInfo
public static final class DiscoverInfo.Feature extends Object
Represents the features offered by the item. This information helps the requester to 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
Constructors Constructor Description Feature(CharSequence variable)
Feature(String variable)
Creates a new feature offered by an XMPP entity or item.Feature(DiscoverInfo.Feature feature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getVar()
Returns the feature's variable.int
hashCode()
String
toString()
XmlStringBuilder
toXML()
-
-
-
Constructor Detail
-
Feature
public Feature(DiscoverInfo.Feature feature)
-
Feature
public Feature(CharSequence variable)
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML()
-
-