Uses of Class
org.jivesoftware.smackx.stanza_content_encryption.element.ContentElement.Builder
Package
Description
Smack's API for XEP-0420: Stanza Content Encryption: Element classes.
-
Uses of ContentElement.Builder in org.jivesoftware.smackx.stanza_content_encryption.element
Modifier and TypeMethodDescriptionContentElement.Builder.addFurtherAffixElement
(AffixElement customAffixElement) Add an additional, SCE profile specific affix element.ContentElement.Builder.addPayloadItem
(XmlElement payloadItem) Add a payload item as child element of the payload element.ContentElement.Builder.addTo
(ToAffixElement to) Add an affix element of type 'to' which addresses one recipient.Add an affix element of type 'to' which addresses one recipient.static ContentElement.Builder
ContentElement.builder()
Return aContentElement.Builder
that can be used to build theContentElement
.ContentElement.Builder.setFrom
(FromAffixElement from) Set the senders jid as a 'from' affix element.Set the senders jid as a 'from' affix element.ContentElement.Builder.setRandomPadding()
Set some random length random content padding.ContentElement.Builder.setRandomPadding
(String padding) Set the given string as padding.ContentElement.Builder.setRandomPadding
(RandomPaddingAffixElement padding) Set a padding affix element.ContentElement.Builder.setTimestamp
(Date date) Set the given date as a 'time' affix element.ContentElement.Builder.setTimestamp
(TimestampAffixElement timestamp) Set the timestamp of the message as a 'time' affix element.