Class NoCopyHint

java.lang.Object
org.jivesoftware.smackx.hints.element.MessageProcessingHint
org.jivesoftware.smackx.hints.element.NoCopyHint
All Implemented Interfaces:
org.jivesoftware.smack.packet.Element, org.jivesoftware.smack.packet.ExtensionElement, org.jivesoftware.smack.packet.NamedElement, org.jivesoftware.smack.packet.XmlElement, org.jivesoftware.smack.packet.XmlLangElement

public final class NoCopyHint extends MessageProcessingHint
A "no copy" hint. Messages with this hint should not be copied to addresses other than the one to which it is addressed.
See Also:
  • Field Details

  • Method Details

    • getElementName

      public String getElementName()
    • toXML

      public String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
    • getHintType

      public MessageProcessingHintType getHintType()
      Specified by:
      getHintType in class MessageProcessingHint
    • from

      public static NoCopyHint 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)