Class NoStoreHint

  • All Implemented Interfaces:
    org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.FullyQualifiedElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlLangElement

    public final class NoStoreHint
    extends MessageProcessingHint
    A "no store" hint. Messages with this hint should not be stored in stores or archives. XEP-0334 ยง 4.2 No store
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NoStoreHint from​(org.jivesoftware.smack.packet.Message message)  
      java.lang.String getElementName()  
      MessageProcessingHintType getHintType()  
      static boolean hasHint​(org.jivesoftware.smack.packet.Message message)  
      static void set​(org.jivesoftware.smack.packet.Message message)  
      java.lang.String toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.jivesoftware.smack.packet.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement

        getLanguage, getQName
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
      • toXML

        public java.lang.String toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
      • from

        public static NoStoreHint from​(org.jivesoftware.smack.packet.Message message)
      • hasHint

        public static boolean hasHint​(org.jivesoftware.smack.packet.Message message)
      • set

        public static void set​(org.jivesoftware.smack.packet.Message message)