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()
NamedElement
getElementName
in interface NamedElement
public final String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public CharSequence toXML(String enclosingNamespace)
Element
public static MamElements.MamResultExtension from(Message message)