public class CryptElement extends EncryptedOpenPgpContentElement
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT |
ELEM_RPAD
ATTR_JID, ATTR_STAMP, ELEM_PAYLOAD, ELEM_TIME, ELEM_TO
Constructor and Description |
---|
CryptElement(Set<org.jxmpp.jid.Jid> to,
List<ExtensionElement> payload) |
CryptElement(Set<org.jxmpp.jid.Jid> to,
String rpad,
Date timestamp,
List<ExtensionElement> payload) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
addCommonXml
ensureTimestampStringSet, getExtension, getExtension, getExtensions, getExtensions, getNamespace, getTimestamp, getTo, toInputStream
public static final String ELEMENT
public CryptElement(Set<org.jxmpp.jid.Jid> to, String rpad, Date timestamp, List<ExtensionElement> payload)
public CryptElement(Set<org.jxmpp.jid.Jid> to, List<ExtensionElement> payload)
public String getElementName()
NamedElement
public XmlStringBuilder toXML(String enclosingNamespace)
Element
enclosingNamespace
- the enclosing namespace or null
.