public static class DiscoverInfo.Feature extends java.lang.Object implements org.jivesoftware.smack.util.TypedCloneable<DiscoverInfo.Feature>
Constructor and Description |
---|
DiscoverInfo.Feature(DiscoverInfo.Feature feature) |
DiscoverInfo.Feature(java.lang.String variable)
Creates a new feature offered by an XMPP entity or item.
|
public DiscoverInfo.Feature(DiscoverInfo.Feature feature)
public DiscoverInfo.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