public static class DiscoverInfo.Feature extends java.lang.Object implements org.jivesoftware.smack.util.TypedCloneable<DiscoverInfo.Feature>
Constructor and Description |
---|
Feature(DiscoverInfo.Feature feature) |
Feature(java.lang.String variable)
Creates a new feature offered by an XMPP entity or item.
|
Modifier and Type | Method and Description |
---|---|
DiscoverInfo.Feature |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getVar()
Returns the feature's variable.
|
int |
hashCode() |
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public Feature(DiscoverInfo.Feature feature)
public Feature(java.lang.String variable)
variable
- the feature's variable.public java.lang.String getVar()
public org.jivesoftware.smack.util.XmlStringBuilder toXML()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DiscoverInfo.Feature clone()
clone
in interface org.jivesoftware.smack.util.TypedCloneable<DiscoverInfo.Feature>
clone
in class java.lang.Object