org.jivesoftware.smackx.workgroup.ext.notes
Class ChatNotes
java.lang.Object
org.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.workgroup.ext.notes.ChatNotes
public class ChatNotes
- extends IQ
IQ packet for retrieving and adding Chat Notes.
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
IQ.Type |
Field Summary |
static java.lang.String |
ELEMENT_NAME
Element name of the packet extension. |
static java.lang.String |
NAMESPACE
Namespace of the packet extension. |
Method Summary |
java.lang.String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one. |
java.lang.String |
getNotes()
|
java.lang.String |
getSessionID()
|
static 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. |
void |
setNotes(java.lang.String notes)
|
void |
setSessionID(java.lang.String sessionID)
|
Methods inherited from class org.jivesoftware.smack.packet.Packet |
addExtension, addExtensions, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- Element name of the packet extension.
- See Also:
- Constant Field Values
NAMESPACE
public static final java.lang.String NAMESPACE
- Namespace of the packet extension.
- See Also:
- Constant Field Values
ChatNotes
public ChatNotes()
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)
getChildElementXML
public java.lang.String getChildElementXML()
- Description copied from class:
IQ
- Returns the sub-element XML section of the IQ packet, or null if there
isn't one. Packet extensions must be included, if any are defined.
Extensions of this class must override this method.
- Specified by:
getChildElementXML
in class IQ
- Returns:
- the child element section of the IQ XML.
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
Copyright © 2003-2007 Jive Software.