Class ChatNotes
- java.lang.Object
-
- org.jivesoftware.smack.packet.Stanza
-
- org.jivesoftware.smack.packet.IQ
-
- org.jivesoftware.smackx.workgroup.ext.notes.ChatNotes
-
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.FullyQualifiedElement,org.jivesoftware.smack.packet.IqView,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.StanzaView,org.jivesoftware.smack.packet.TopLevelStreamElement,org.jivesoftware.smack.packet.XmlLangElement
public class ChatNotes extends org.jivesoftware.smack.packet.IQIQ stanza for retrieving and adding Chat Notes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChatNotes.ProviderAn IQProvider for ChatNotes packets.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELEMENT_NAMEElement name of the stanza extension.static java.lang.StringNAMESPACENamespace of the stanza extension.
-
Constructor Summary
Constructors Constructor Description ChatNotes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuildergetIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)java.lang.StringgetNotes()java.lang.StringgetSessionID()static java.lang.Stringreplace(java.lang.String string, java.lang.String oldString, java.lang.String newString)Replaces all instances of oldString with newString in string.voidsetNotes(java.lang.String notes)voidsetSessionID(java.lang.String sessionID)-
Methods inherited from class org.jivesoftware.smack.packet.IQ
createErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementQName, getChildElementXML, getElementName, getType, isRequestIQ, isResponseIQ, setType, toString, toXML
-
Methods inherited from class org.jivesoftware.smack.packet.Stanza
addCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtension, getExtensionElement, getExtensions, getExtensions, getExtensions, getExtensions, getExtensionsMap, getFrom, getLanguage, getNamespace, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setLanguage, setNewStanzaId, setStanzaId, setStanzaId, setTo, throwIfNoStanzaId
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
Element name of the stanza extension.- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
Namespace of the stanza extension.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessionID
public java.lang.String getSessionID()
-
setSessionID
public void setSessionID(java.lang.String sessionID)
-
getNotes
public java.lang.String getNotes()
-
setNotes
public void setNotes(java.lang.String notes)
-
getIQChildElementBuilder
protected org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(org.jivesoftware.smack.packet.IQ.IQChildElementXmlStringBuilder buf)
- Specified by:
getIQChildElementBuilderin classorg.jivesoftware.smack.packet.IQ
-
replace
public static final java.lang.String replace(java.lang.String string, java.lang.String oldString, java.lang.String newString)Replaces all instances of oldString with newString in string.- Parameters:
string- the String to search to perform replacements onoldString- the String that should be replaced by newStringnewString- the String that will replace all instances of oldString- Returns:
- a String will all instances of oldString replaced by newString
-
-