| Modifier and Type | Class and Description |
|---|---|
static class |
ChatNotes.Provider
An IQProvider for ChatNotes packets.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
Element name of the packet extension.
|
static String |
NAMESPACE
Namespace of the packet extension.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE| Constructor and Description |
|---|
ChatNotes() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
String |
getNotes() |
String |
getSessionID() |
static String |
replace(String string,
String oldString,
String newString)
Replaces all instances of oldString with newString in string.
|
void |
setNotes(String notes) |
void |
setSessionID(String sessionID) |
createErrorResponse, createResultIQ, getType, setType, toXMLaddCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toStringpublic static final String ELEMENT_NAME
public static final String NAMESPACE
public ChatNotes()
public String getSessionID()
public void setSessionID(String sessionID)
public String getChildElementXML()
IQExtensions of this class must override this method.
getChildElementXML in class IQpublic static final String replace(String string, String oldString, String newString)
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