Class NoPermanentStoreHint
- java.lang.Object
-
- org.jivesoftware.smackx.hints.element.MessageProcessingHint
-
- org.jivesoftware.smackx.hints.element.NoPermanentStoreHint
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,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 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(Message message)
String
getElementName()
Returns the root element name.MessageProcessingHintType
getHintType()
static boolean
hasHint(Message message)
static void
set(Message message)
static void
setExplicitly(Message message)
String
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class org.jivesoftware.smackx.hints.element.MessageProcessingHint
getNamespace
-
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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
INSTANCE
public static final NoPermanentStoreHint INSTANCE
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public String toXML(XmlEnvironment enclosingNamespace)
-
getHintType
public MessageProcessingHintType getHintType()
- Specified by:
getHintType
in classMessageProcessingHint
-
from
public static NoPermanentStoreHint from(Message message)
-
setExplicitly
public static void setExplicitly(Message message)
-
-