public class ChatMetadata extends IQ
Modifier and Type | Class and Description |
---|---|
static class |
ChatMetadata.Provider
An IQProvider for Metadata 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 |
---|
ChatMetadata() |
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.
|
Map |
getMetadata() |
String |
getSessionID() |
void |
setMetadata(Map metadata) |
void |
setSessionID(String sessionID) |
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final String ELEMENT_NAME
public static final String NAMESPACE
public String getSessionID()
public void setSessionID(String sessionID)
public void setMetadata(Map metadata)
public Map getMetadata()
public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ
Copyright © 2003-2007 Jive Software.