Enum MucFeature

    • Enum Constant Detail

      • REGISTER

        public static final MucFeature REGISTER
        Support for the muc#register FORM_TYPE
      • ROOMCONFIG

        public static final MucFeature ROOMCONFIG
        Support for the muc#roomconfig FORM_TYPE
      • ROOMINFO

        public static final MucFeature ROOMINFO
        Support for the muc#roominfo FORM_TYPE
      • HIDDEN

        public static final MucFeature HIDDEN
        Hidden room in Multi-User Chat (MUC)
      • MEMBERS_ONLY

        public static final MucFeature MEMBERS_ONLY
        Members-only room in Multi-User Chat (MUC)
      • MODERATED

        public static final MucFeature MODERATED
        Moderated room in Multi-User Chat (MUC)
      • NON_ANONYMOUS

        public static final MucFeature NON_ANONYMOUS
        Non-anonymous room in Multi-User Chat (MUC)
      • OPEN

        public static final MucFeature OPEN
        Open room in Multi-User Chat (MUC)
      • PASSWORD_PROTECTED

        public static final MucFeature PASSWORD_PROTECTED
        Password-protected room in Multi-User Chat (MUC)
      • PERSISTENT

        public static final MucFeature PERSISTENT
        Persistent room in Multi-User Chat (MUC)
      • PUBLIC

        public static final MucFeature PUBLIC
        Public room in Multi-User Chat (MUC)
      • ROOMS

        public static final MucFeature ROOMS
        List of MUC rooms (each as a separate item)
      • SEMI_ANONYMOUS

        public static final MucFeature SEMI_ANONYMOUS
        Semi-anonymous room in Multi-User Chat (MUC)
      • TEMPORARY

        public static final MucFeature TEMPORARY
        Temporary room in Multi-User Chat (MUC)
      • UNMODERATED

        public static final MucFeature UNMODERATED
        Unmoderated room in Multi-User Chat (MUC)
      • UNSECURED

        public static final MucFeature UNSECURED
        Unsecured room in Multi-User Chat (MUC)
    • Method Detail

      • values

        public static MucFeature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MucFeature c : MucFeature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MucFeature valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getFeatureName

        public final String getFeatureName()
        Description copied from interface: Feature
        Gets the name of the feature.
        Specified by:
        getFeatureName in interface Feature
        Returns:
        The feature name.