Class StoreHint
- java.lang.Object
-
- org.jivesoftware.smackx.hints.element.MessageProcessingHint
-
- org.jivesoftware.smackx.hints.element.StoreHint
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public final class StoreHint extends MessageProcessingHint
A "store" hint. Messages with this hint should be stored in permanent stores or archives.- See Also:
- XEP-0334 ยง 4.4 Store
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StoreHint
from(MessageView message)
String
getElementName()
Returns the root element name.MessageProcessingHintType
getHintType()
static boolean
hasHint(MessageView message)
static void
set(MessageBuilder 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
-
-
-
-
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 StoreHint from(MessageView message)
-
hasHint
public static boolean hasHint(MessageView message)
-
set
public static void set(MessageBuilder message)
-
-