Class StoreHint
- java.lang.Object
-
- org.jivesoftware.smackx.hints.element.MessageProcessingHint
-
- org.jivesoftware.smackx.hints.element.StoreHint
-
- 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 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 StoreHintfrom(org.jivesoftware.smack.packet.MessageView message)java.lang.StringgetElementName()MessageProcessingHintTypegetHintType()static booleanhasHint(org.jivesoftware.smack.packet.MessageView message)static voidset(org.jivesoftware.smack.packet.MessageBuilder message)java.lang.StringtoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)-
Methods inherited from class org.jivesoftware.smackx.hints.element.MessageProcessingHint
getNamespace
-
-
-
-
Field Detail
-
INSTANCE
public static final StoreHint INSTANCE
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
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:
getHintTypein classMessageProcessingHint
-
from
public static StoreHint from(org.jivesoftware.smack.packet.MessageView message)
-
hasHint
public static boolean hasHint(org.jivesoftware.smack.packet.MessageView message)
-
set
public static void set(org.jivesoftware.smack.packet.MessageBuilder message)
-
-