Class NoPermanentStoreHint
- java.lang.Object
-
- org.jivesoftware.smackx.hints.element.MessageProcessingHint
-
- org.jivesoftware.smackx.hints.element.NoPermanentStoreHint
-
- 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 NoPermanentStoreHint extends MessageProcessingHint
A "no permanent store" hint. Messages with this hint should not be stored in permanent stores or archives.- See Also:
- XEP-0334 ยง 4.1 No permanent store
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
static NoPermanentStoreHint
INSTANCE
-
Fields inherited from class org.jivesoftware.smackx.hints.element.MessageProcessingHint
NAMESPACE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoPermanentStoreHint
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)
static void
setExplicitly(org.jivesoftware.smack.packet.Message message)
java.lang.String
toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
Methods inherited from class org.jivesoftware.smackx.hints.element.MessageProcessingHint
getNamespace
-
-
-
-
Field Detail
-
INSTANCE
public static final NoPermanentStoreHint INSTANCE
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
-
toXML
public java.lang.String toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
-
getHintType
public MessageProcessingHintType getHintType()
- Specified by:
getHintType
in classMessageProcessingHint
-
from
public static NoPermanentStoreHint 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)
-
setExplicitly
public static void setExplicitly(org.jivesoftware.smack.packet.Message message)
-
-