Class MamElements.MamResultExtension
java.lang.Object
org.jivesoftware.smackx.mam.element.MamElements.MamResultExtension
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
- Enclosing class:
- MamElements
public abstract static class MamElements.MamResultExtension
extends Object
implements ExtensionElement
MAM result extension class.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMamResultExtension
(MamVersion version, String queryId, String id, Forwarded<Message> forwarded) MAM result extension constructor. -
Method Summary
Modifier and TypeMethodDescriptionfrom
(MessageView message) Returns the root element name.Get the forwarded element.getId()
Get the id.final String
Returns the root element XML namespace.final String
Get query id.toXML
(XmlEnvironment enclosingNamespace) 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.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
result element.- See Also:
-
version
-
-
Constructor Details
-
MamResultExtension
public MamResultExtension(MamVersion version, String queryId, String id, Forwarded<Message> forwarded) MAM result extension constructor.- Parameters:
version
- TODO javadoc me pleasequeryId
- TODO javadoc me pleaseid
- TODO javadoc me pleaseforwarded
- TODO javadoc me please
-
-
Method Details
-
getId
Get the id.- Returns:
- the id
-
getForwarded
Get the forwarded element.- Returns:
- the forwarded element
-
getQueryId
Get query id.- Returns:
- the query id
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
toXML
-
from
-