public static class MamElements.MamResultExtension extends Object implements ExtensionElement
| Constructor and Description |
|---|
MamResultExtension(String queryId,
String id,
Forwarded forwarded)
MAM result extension constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static MamElements.MamResultExtension |
from(Message message) |
String |
getElementName()
Returns the root element name.
|
Forwarded |
getForwarded()
Get the forwarded element.
|
String |
getId()
Get the id.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getQueryId()
Get query id.
|
CharSequence |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public MamResultExtension(String queryId, String id, Forwarded forwarded)
queryId - id - forwarded - public Forwarded getForwarded()
public final String getQueryId()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic final String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic CharSequence toXML(String enclosingNamespace)
Elementpublic static MamElements.MamResultExtension from(Message message)