public final class StreamFeatures extends java.lang.Object implements StreamElement
The implementation of the <stream:features/>
element.
This class is immutable (if all features are immutable, too).
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
Deprecated.
|
Constructor and Description |
---|
StreamFeatures(java.util.Collection<StreamFeature> features) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getFeatures()
Gets the features, i.e. the child elements of the
<stream:features/> element. |
java.lang.String |
toString() |
@Deprecated public static final java.lang.String NAMESPACE
public StreamFeatures(java.util.Collection<StreamFeature> features)
Copyright © 2014–2019 XMPP.rocks. All rights reserved.