Package org.jivesoftware.smack.packet
Class MessageOrPresenceBuilder<MP extends MessageOrPresence<? extends MessageOrPresenceBuilder<MP,SB>>,SB extends StanzaBuilder<SB>>
- java.lang.Object
-
- org.jivesoftware.smack.packet.StanzaBuilder<SB>
-
- org.jivesoftware.smack.packet.MessageOrPresenceBuilder<MP,SB>
-
- All Implemented Interfaces:
StanzaView
,XmlLangElement
- Direct Known Subclasses:
MessageBuilder
,PresenceBuilder
public abstract class MessageOrPresenceBuilder<MP extends MessageOrPresence<? extends MessageOrPresenceBuilder<MP,SB>>,SB extends StanzaBuilder<SB>> extends StanzaBuilder<SB>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageOrPresenceBuilder(java.lang.String stanzaId)
protected
MessageOrPresenceBuilder(StanzaIdSource stanzaIdSource)
protected
MessageOrPresenceBuilder(Stanza stanza, java.lang.String stanzaId)
protected
MessageOrPresenceBuilder(Stanza stanza, StanzaIdSource stanzaIdSource)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract MP
build()
-
Methods inherited from class org.jivesoftware.smack.packet.StanzaBuilder
addExtension, addExtensions, addOptExtensions, addStanzaSpecificAttributes, buildIqData, buildMessage, buildMessage, buildMessageFrom, buildMessageFrom, buildPresence, buildPresence, buildPresenceFrom, buildPresenceFrom, buildResponse, from, from, getError, getExtension, getExtensions, getExtensions, getExtensions, getFrom, getLanguage, getStanzaId, getThis, getTo, overrideExtension, removeExtension, removeExtension, setError, setLanguage, throwIfNoStanzaId, to, to, toString, willBuildStanzaWithId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.StanzaView
getExtension, hasExtension, hasExtension, hasExtension
-
-
-
-
Constructor Detail
-
MessageOrPresenceBuilder
protected MessageOrPresenceBuilder(Stanza stanza, StanzaIdSource stanzaIdSource)
-
MessageOrPresenceBuilder
protected MessageOrPresenceBuilder(Stanza stanza, java.lang.String stanzaId)
-
MessageOrPresenceBuilder
protected MessageOrPresenceBuilder(StanzaIdSource stanzaIdSource)
-
MessageOrPresenceBuilder
protected MessageOrPresenceBuilder(java.lang.String stanzaId)
-
-
Method Detail
-
build
public abstract MP build()
- Specified by:
build
in classStanzaBuilder<SB extends StanzaBuilder<SB>>
-
-